diff --git a/es6-promise/es6-promise.d.ts b/es6-promise/es6-promise.d.ts index c0a77edd8b..d5fdc2dbf2 100644 --- a/es6-promise/es6-promise.d.ts +++ b/es6-promise/es6-promise.d.ts @@ -51,6 +51,7 @@ declare module Promise { * Make a promise that rejects to obj. For consistency and debugging (eg stack traces), obj should be an instanceof Error */ function reject(error: any): Promise; + function reject(error: T): Promise; /** * Make a promise that fulfills when every item in the array fulfills, and rejects if (and when) any item rejects.