diff --git a/typescript/core/base.ts b/typescript/core/base.ts index e8793810c9..9455248afc 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -287,15 +287,15 @@ export interface _base { unescape: (str?: string) => string; - bind: (func: Function, thisArg: any, ...partials: any) => Function; + bind: (func: T, thisArg: any, ...partials: any) => T; once: (func: Function) => Function; partial: (func: Function, ...partials: any) => Function; - debounce: (func: Function, wait?: number, options?: any) => Function; + debounce: (func: T, wait?: number, options?: any) => T; - throttle: (func: Function, wait?: number, options?: any) => Function; + throttle: (func: T, wait?: number, options?: any) => T; delay: (func: Function, wait: number, ...args: any[]) => number;