diff --git a/es6-promise/es6-promise.d.ts b/es6-promise/es6-promise.d.ts index 2718388070..4a793e540b 100644 --- a/es6-promise/es6-promise.d.ts +++ b/es6-promise/es6-promise.d.ts @@ -54,12 +54,12 @@ declare module Promise { * the array passed to all can be a mixture of promise-like objects and other objects. * The fulfillment value is an array (in order) of fulfillment values. The rejection value is the first rejection value. */ - function all(promises: Promise[]): Promise; + function all(promises: (R | Thenable)[]): Promise; /** * Make a Promise that fulfills when any item fulfills, and rejects if any item rejects. */ - function race(promises: Promise[]): Promise; + function race(promises: (R | Thenable)[]): Promise; } declare module 'es6-promise' {