npm.io
6.0.6 • Published 2 years ago

@types/promise-polyfill

Licence
MIT
Version
6.0.6
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

declare namespace Promise {
    interface PromisePolyfillConstructor extends PromiseConstructor {
        _immediateFn?: ((handler: (() => void) | string) => void) | undefined;
    }
}

declare const Promise: Promise.PromisePolyfillConstructor;

export = Promise;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: none

Credits

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