From cb0288164466b1cf557570609e59ba0d4ac4d3b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pekka=20Lepp=C3=A4nen?= Date: Tue, 18 Nov 2014 14:59:43 +0200 Subject: [PATCH] Added two return types --- jscrollpane/jscrollpane.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jscrollpane/jscrollpane.d.ts b/jscrollpane/jscrollpane.d.ts index 2bb348bb47..652a3a3731 100644 --- a/jscrollpane/jscrollpane.d.ts +++ b/jscrollpane/jscrollpane.d.ts @@ -295,7 +295,7 @@ interface JScrollPaneApi { * @param animate Should an animation occur. If you don't provide this argument then the animateScroll value from the settings object is used instead. */ - scrollToBottom(animate?: boolean); + scrollToBottom(animate?: boolean): void; /** * Hijacks the links on the page which link to content inside the scrollpane. If you have changed the content of * your page (e.g. via AJAX) and want to make sure any new anchor links to the contents of your scroll pane will @@ -312,5 +312,5 @@ interface JQuery { /** * Initialises the jScrollPane on the JQuery object. */ - jScrollPane(options?: JScrollPaneSettings); + jScrollPane(options?: JScrollPaneSettings): JQuery; }