From d355e5113ac9c9437c3320c18d37188f02ae2da3 Mon Sep 17 00:00:00 2001 From: jian Date: Thu, 15 Jun 2023 15:59:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/typescript/core/base.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/packages/fineui/typescript/core/base.ts b/packages/fineui/typescript/core/base.ts index 4453188b3..e347747cf 100644 --- a/packages/fineui/typescript/core/base.ts +++ b/packages/fineui/typescript/core/base.ts @@ -320,14 +320,7 @@ export declare function once(func: Function): Function; export declare function partial(func: Function, ...partials: any): Function; -// from @types/lodash -interface DebouncedFunc any> { - (...args: Parameters): ReturnType | undefined; - cancel(): void; - flush(): ReturnType | undefined; -} - -export declare function debounce any>(func: T, wait?: number, options?: any): DebouncedFunc; +export declare function debounce(func: T, wait?: number, options?: any): T; export declare function throttle(func: T, wait?: number, options?: any): T;