@types/debounce
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

Installation

npm install --save @types/debounce

Summary

This package contains type definitions for debounce (https://github.com/component/debounce).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debounce.

index.d.ts

declare namespace _debounce {
    const debounce: typeof _debounce;
}

declare function _debounce<A extends Function>(
    f: A,
    interval?: number,
    immediate?: boolean,
): A & { clear(): void } & { flush(): void };

export = _debounce;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Denis Sokolov, and Wayne Carson.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/debounce

Weekly Downloads

223,575

Version

1.2.4

License

MIT

Unpacked Size

3.22 kB

Total Files

5

Last publish

Collaborators

  • types