microsoft / microsoft/TypeScript
Support recent `Iterator`/`Iterator.prototype` methods in `esnext` (eventually `es2027`)
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
The following proposals are at a mix of stage 3 and stage 4 in TC39's standardization process. We should add them in TypeScript 7.1.
* [`Iterator.zip` and `Iterator.zipKeyed`](https://github.com/tc39/proposal-joint-iteration)
* [`Iterator.prototype.chunks`](https://github.com/tc39/proposal-iterator-chunking)
* [`Iterator.prototype.join`](https://github.com/tc39/proposal-iterator-join)
* [`Iterator.prototype.includes`](https://github.com/tc39/proposal-iterator-includes)
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 reviewing the four linked TC39 proposals and how TypeScript 7.1 exposes the esnext library declarations. Add the listed Iterator and Iterator.prototype methods to the appropriate esnext surface, then verify that the declarations match the proposal APIs and are ready for eventual es2027 inclusion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100