microsoft / microsoft/TypeScript

Support `Promise.allKeyed`/`Promise.allSettledKeyed` methods in `esnext` (eventually `es2027`)

Open Beginner friendly
#63,701 0 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Committed Domain: lib.d.ts Suggestion
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

The "await dictionary" proposal is at stage 3 and brings the following methods.

  • Promise.allKeyed
  • Promise.allSettledKeyed

We should add support in TypeScript 7.1.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked TC39 await dictionary proposal and the existing TypeScript ESNext Promise library declarations. Identify how standard-library methods are represented for the esnext target, then add both keyed methods for TypeScript 7.1 and verify that their types are exposed. Done means both methods are available through the esnext library without type errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
compilers
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.