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 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Steve Jenkins, and Daniel Cassidy.