mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
8 lines
359 B
TypeScript
8 lines
359 B
TypeScript
// Type definitions for debounce 1.0
|
|
// Project: https://github.com/component/debounce
|
|
// Definitions by: Denis Sokolov <https://github.com/denis-sokolov>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare function debounce<A extends Function>(f: A, interval?: number, immediate?: boolean): A & { clear(): void; };
|
|
export = debounce;
|