From 5e5a6b040ad71832a5fb151e1dfd56e38b00702f Mon Sep 17 00:00:00 2001 From: fay Date: Mon, 9 Nov 2020 15:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=8B=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/base.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/typescript/core/base.ts b/typescript/core/base.ts index e8793810c..9455248af 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;