Skip to content

Commit

Permalink
This Promise.race() overload moved to es2015.promise.d.ts in microsof…
Browse files Browse the repository at this point in the history
  • Loading branch information
jablko committed Aug 23, 2019
1 parent ec39d41 commit b1b853c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/lib/es2015.iterable.d.ts
Expand Up @@ -204,14 +204,6 @@ interface PromiseConstructor {
* @returns A new Promise.
*/
all<TAll>(values: Iterable<TAll | PromiseLike<TAll>>): Promise<TAll[]>;

/**
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
* or rejected.
* @param values An array of Promises.
* @returns A new Promise.
*/
race<T>(values: Iterable<T | PromiseLike<T>>): Promise<T>;
}

declare namespace Reflect {
Expand Down

0 comments on commit b1b853c

Please sign in to comment.