1 | // Type definitions for promise-polyfill 6.0
|
2 | // Project: https://github.com/taylorhakes/promise-polyfill
|
3 | // Definitions by: Steve Jenkins <https://github.com/skysteve>
|
4 | // Daniel Cassidy <https://github.com/djcsdy>
|
5 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
6 |
|
7 | declare namespace Promise {
|
8 | interface PromisePolyfillConstructor extends PromiseConstructor {
|
9 | _immediateFn?: ((handler: (() => void) | string) => void) | undefined;
|
10 | }
|
11 | }
|
12 |
|
13 | declare const Promise: Promise.PromisePolyfillConstructor;
|
14 |
|
15 | export = Promise;
|
16 |
|
\ | No newline at end of file |