JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 217502
  • Score
    100M100P100Q174691F
  • License MIT

TypeScript definitions for debounce

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/debounce) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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

    // Type definitions for debounce 1.2
    // Project: https://github.com/component/debounce
    // Definitions by: Denis Sokolov <https://github.com/denis-sokolov>
    //                 Wayne Carson <https://github.com/wcarson>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    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: Fri, 22 Sep 2023 20:29:40 GMT
    • Dependencies: none
    • Global values: none

    Credits

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