Files
ZERO_CODE/ZeroCodeProject/main/client/node_modules/throttle-debounce/index.d.ts
vermouth789 fe39320977 123
123
2026-01-11 00:11:34 +08:00

18 lines
340 B
TypeScript

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;
}