@types/promise-polyfill
Version:
TypeScript definitions for promise-polyfill
16 lines (12 loc) • 562 B
TypeScript
// 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;