UNPKG

892 BMarkdownView Raw
1# Installation
2> `npm install --save @types/debounce`
3
4# Summary
5This package contains type definitions for debounce (https://github.com/component/debounce).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debounce.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debounce/index.d.ts)
10````ts
11declare namespace _debounce {
12 const debounce: typeof _debounce;
13}
14
15declare function _debounce<A extends Function>(
16 f: A,
17 interval?: number,
18 immediate?: boolean,
19): A & { clear(): void } & { flush(): void };
20
21export = _debounce;
22
23````
24
25### Additional Details
26 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
27 * Dependencies: none
28
29# Credits
30These definitions were written by [Denis Sokolov](https://github.com/denis-sokolov), and [Wayne Carson](https://github.com/wcarson).
31
\No newline at end of file