From b39197548bb38c7a724b2bb50a8821220553dbc4 Mon Sep 17 00:00:00 2001 From: phijaen Date: Tue, 25 Oct 2016 13:41:03 +0200 Subject: [PATCH] Update the kendo throttle function definition The return type of the kendo throttle function should be Function instead of void (see usage at : http://docs.telerik.com/kendo-ui/api/javascript/kendo#methods-throttle ) --- kendo-ui/kendo-ui.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kendo-ui/kendo-ui.d.ts b/kendo-ui/kendo-ui.d.ts index ac6022ecd4..5ae6f7fe43 100644 --- a/kendo-ui/kendo-ui.d.ts +++ b/kendo-ui/kendo-ui.d.ts @@ -16947,7 +16947,7 @@ declare namespace kendo { function resize(element: Element, force: boolean): void; function saveAs(options: any): void; function stringify(value: any): string; - function throttle(fn: Function, timeout: number): void; + function throttle(fn: Function, timeout: number): Function; function touchScroller(element: string): void; function touchScroller(element: JQuery): void; function touchScroller(element: Element): void;