Neptune: Planet or Myth?

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

    6.0.4 • Public • Published

    Installation

    npm install --save @types/promise-polyfill

    Summary

    This package contains type definitions for promise-polyfill (https://github.com/taylorhakes/promise-polyfill).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-polyfill.

    index.d.ts

    // Type definitions for promise-polyfill 6.0
    // Project: https://github.com/taylorhakes/promise-polyfill
    // Definitions by: Steve Jenkins <https://github.com/skysteve>
    //                 Daniel Cassidy <https://github.com/djcsdy>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    declare namespace Promise {
        interface PromisePolyfillConstructor extends PromiseConstructor {
            _immediateFn?: ((handler: (() => void) | string) => void) | undefined;
        }
    }
    
    declare const Promise: Promise.PromisePolyfillConstructor;
    
    export = Promise;

    Additional Details

    • Last updated: Wed, 07 Jul 2021 17:02:37 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by Steve Jenkins, and Daniel Cassidy.

    Keywords

    none

    Install

    npm i @types/promise-polyfill

    DownloadsWeekly Downloads

    62,831

    Version

    6.0.4

    License

    MIT

    Unpacked Size

    3.94 kB

    Total Files

    4

    Last publish

    Collaborators

    • types