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 effde01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
8 changes: 0 additions & 8 deletions src/lib/es2015.iterable.d.ts
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ exports.__esModule = true;
"signature": "10837180865"
},
"../../../.ts/lib.es2015.iterable.d.ts": {
"version": "232404497324",
"signature": "232404497324"
"version": "183764445096",
"signature": "183764445096"
},
"../../../.ts/lib.es2015.promise.d.ts": {
"version": "235321148269",
Expand Down Expand Up @@ -138,8 +138,8 @@ exports.__esModule = true;
"signature": "10837180865"
},
"../../../.ts/lib.es2015.iterable.d.ts": {
"version": "232404497324",
"signature": "232404497324"
"version": "183764445096",
"signature": "183764445096"
},
"../../../.ts/lib.es2015.promise.d.ts": {
"version": "235321148269",
Expand Down Expand Up @@ -261,8 +261,8 @@ exports.getVar = getVar;
"signature": "10837180865"
},
"../../../.ts/lib.es2015.iterable.d.ts": {
"version": "232404497324",
"signature": "232404497324"
"version": "183764445096",
"signature": "183764445096"
},
"../../../.ts/lib.es2015.promise.d.ts": {
"version": "235321148269",
Expand Down

0 comments on commit effde01

Please sign in to comment.