1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/throttle-debounce/index.d.ts

18 lines
340 B
TypeScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
declare module 'throttle-debounce' {
type throttleFn = (
delay: number,
noTrailing: boolean,
callback?: Function,
debounceMode?: boolean
) => Function;
type debounceFn = (
delay: number,
atBegin: boolean,
callback?: Function
) => Function;
const throttle: throttleFn;
const debounce: debounceFn;
}