Add `DOM.AsyncIterable` to generated TS config's `lib`?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 20.8k
- Forks
- 2.3k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 156
Description
Describe the problem
Some DOM APIs use this and not having it defined leads to type errors.
For reference see e.g. this issue:
Type checking issues like this could be preempted by adding the library alongside DOM.Iterable.
Describe the proposed solution
Change the generated TS config's lib default to include DOM.AsyncIterable.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the generated TypeScript configuration and the default lib setting, then compare it with the existing DOM.Iterable entry. Update the default to include DOM.AsyncIterable and verify that the generated configuration contains both libraries and prevents the referenced DOM API type errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100