6.0.6 • Published 6 months ago

@types/promise-polyfill v6.0.6

Weekly downloads
62,333
License
MIT
Repository
github
Last release
6 months ago

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.