1 | # Installation
|
2 | > `npm install --save @types/debounce`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for debounce (https://github.com/component/debounce).
|
6 |
|
7 | # Details
|
8 | Files 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
|
11 | declare namespace _debounce {
|
12 | const debounce: typeof _debounce;
|
13 | }
|
14 |
|
15 | declare function _debounce<A extends Function>(
|
16 | f: A,
|
17 | interval?: number,
|
18 | immediate?: boolean,
|
19 | ): A & { clear(): void } & { flush(): void };
|
20 |
|
21 | export = _debounce;
|
22 |
|
23 | ````
|
24 |
|
25 | ### Additional Details
|
26 | * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
|
27 | * Dependencies: none
|
28 |
|
29 | # Credits
|
30 | These 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 |