9 lines
195 B
TypeScript
9 lines
195 B
TypeScript
|
declare function debounce<T extends (...args: any[]) => void>(
|
||
|
fn: T,
|
||
|
delay: number,
|
||
|
atStart?: boolean,
|
||
|
guarantee?: boolean
|
||
|
): (...args: Parameters<T>) => void;
|
||
|
|
||
|
export default debounce;
|