UNPKG

@types/promise-polyfill

Version:
29 lines (21 loc) 950 B
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-polyfill/index.d.ts) ````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](https://github.com/skysteve), and [Daniel Cassidy](https://github.com/djcsdy).