Files
DefinitelyTyped/types/debounce/index.d.ts
Karol Janyst 7290661a96 Fix export for debounce, add tslint.json (#16035)
* Fix export for debounce, add tslint.json

* Add clear method
2017-04-21 07:29:22 -07:00

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;