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

6.0.6 • 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

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/promise-polyfill

      Weekly Downloads

      70,681

      Version

      6.0.6

      License

      MIT

      Unpacked Size

      3.32 kB

      Total Files

      5

      Last publish

      Collaborators

      • types