Skip to content

Commit 802491c

Browse files
slowcheetahzloirock
authored andcommitted
Fix Promise.allSettledKeyed pure type
1 parent eda4254 commit 802491c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core-js-types/src/base/pure/proposals/await-dictionary.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ declare namespace CoreJS {
2222
* @returns A new Promise that resolves to an object with the same keys as the input object,
2323
* where each key maps to the settlement result (`{ status, value }` or `{ status, reason }`) of the corresponding promise.
2424
*/
25-
allSettledKeyed<D extends Record<PropertyKey, unknown>>(promises: D): Promise<{ [k in keyof D]: CoreJS.CoreJSPromiseSettledResult<Awaited<D[k]>> }>;
25+
allSettledKeyed<D extends Record<PropertyKey, unknown>>(promises: D): CoreJS.CoreJSPromise<{ [k in keyof D]: CoreJS.CoreJSPromiseSettledResult<Awaited<D[k]>> }>;
2626
}
2727

2828
var CoreJSPromise: CoreJSPromiseConstructor;

0 commit comments

Comments
 (0)