microsoft / microsoft/TypeScript
Add `es2026` as valid `target` and `lib`
@DanielRosenwasser がすでに取り組んでいます。
2026年8月28日 から。
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 132
説明
To quote the spec:
ECMAScript 2026, the 17th edition, added
Math.sumPrecisefor summing an iterable of Numbers of varying magnitude while minimizing precision loss;Iterator.concatfor sequencing iterators;Array.fromAsyncfor constructing Arrays from async iterables and other async sources;Error.isErrorfor identifying error objects; methods toMap.prototypeandWeakMap.prototypefor providing a default value to use during retrieval when a key is not already present; methods toUint8Arrayfor converting to and from Strings of hexadecimal- and base64-encoded binary data; a parameter toJSON.parserevivers to access the matched segment of JSON source; andJSON.rawJSONfor fine control overJSON.stringifyoutput for primitive values.
We need to add the following:
Math.sumPreciseIterator.concatJSON.rawJSON- An overload(?) for
JSON.stringify
The following must be moved to an es2026 lib:
Error.isErrorMap.prototype.*getOrInsertgetOrInsertComputed
WeakMap.prototype.*getOrInsertgetOrInsertComputed
Uint8Array.prototype.*toBase64setFromBase64toHexsetFromHex
Uint8Array.fromHexUint8Array.fromBase64Array.fromAsync
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。