chushihua
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user