UNPKG

ut2

Version:

一个现代 JavaScript 实用工具库。[点击查看在线文档]。

9 lines (8 loc) 334 B
import { FunctionAny } from './types'; declare function baseDebounce<T extends FunctionAny>(func: T, wait: number, immediate: boolean, __throttle__?: boolean): { (this: any, ...args: Parameters<T>): ReturnType<T>; cancel: () => void; flush: () => ReturnType<T>; pending: () => boolean; }; export default baseDebounce;