Title: Add `es2026` as valid `target` and `lib` · Issue #63704 · microsoft/TypeScript · GitHub
Open Graph Title: Add `es2026` as valid `target` and `lib` · Issue #63704 · microsoft/TypeScript
X Title: Add `es2026` as valid `target` and `lib` · Issue #63704 · microsoft/TypeScript
Description: To quote the spec: ECMAScript 2026, the 17th edition, added Math.sumPrecise for summing an iterable of Numbers of varying magnitude while minimizing precision loss; Iterator.concat for sequencing iterators; Array.fromAsync for constructi...
Open Graph Description: To quote the spec: ECMAScript 2026, the 17th edition, added Math.sumPrecise for summing an iterable of Numbers of varying magnitude while minimizing precision loss; Iterator.concat for sequencing i...
X Description: To quote the spec: ECMAScript 2026, the 17th edition, added Math.sumPrecise for summing an iterable of Numbers of varying magnitude while minimizing precision loss; Iterator.concat for sequencing i...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/63704
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add `es2026` as valid `target` and `lib`","articleBody":"To quote the spec:\n\n> ECMAScript 2026, the 17th edition, added `Math.sumPrecise` for summing an [iterable](https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-iterable-interface) of Numbers of varying magnitude while minimizing precision loss; `Iterator.concat` for sequencing [iterators](https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-iterator-interface); `Array.fromAsync` for constructing Arrays from [async iterables](https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asynciterable-interface) and other async sources; `Error.isError` for identifying error objects; methods to `Map.prototype` and `WeakMap.prototype` for providing a default value to use during retrieval when a key is not already present; methods to `Uint8Array` for converting to and from Strings of hexadecimal- and base64-encoded binary data; a parameter to `JSON.parse` revivers to access the matched segment of JSON source; and `JSON.rawJSON` for fine control over `JSON.stringify` output for primitive values.\n\nWe need to add the following:\n\n* `Math.sumPrecise`\n* `Iterator.concat`\n* `JSON.rawJSON`\n* An overload(?) for `JSON.parse`\n\nThe following must be moved to an `es2026` lib:\n\n* `Error.isError`\n* `Map.prototype.*`\n * `getOrInsert`\n * `getOrInsertComputed`\n* `WeakMap.prototype.*`\n * `getOrInsert`\n * `getOrInsertComputed`\n* `Uint8Array.prototype.*`\n * `toBase64`\n * `setFromBase64`\n * `toHex`\n * `setFromHex`\n* `Uint8Array.fromHex`\n* `Uint8Array.fromBase64`\n* `Array.fromAsync`","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2026-07-31T18:31:33Z","url":"https://github.com/microsoft/TypeScript/issues/63704"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1ede2420-aac7-fbba-5c8e-6309aa034761 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86B0:1C6C3E:B05C27:EA2293:6B00ECA3 |
| html-safe-nonce | d17cdf18c8b1c1e9360466e8b8a4ffe308420ecad8f395cdd3c2c025429ab3e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkIwOjFDNkMzRTpCMDVDMjc6RUEyMjkzOjZCMDBFQ0EzIiwidmlzaXRvcl9pZCI6IjUwODI3OTI4MjI0ODI5ODgxOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e13c2a0e104d0d51ded9c2146db370b98d1417dba70f2988b289eddd59e63d88 |
| hovercard-subject-tag | issue:5032356821 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/63704/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e63911695870439601acd866e10991b28b3d2f8fdff3f2a14e317de6d5aa803a/microsoft/TypeScript/issues/63704 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e63911695870439601acd866e10991b28b3d2f8fdff3f2a14e317de6d5aa803a/microsoft/TypeScript/issues/63704 |
| og:image:alt | To quote the spec: ECMAScript 2026, the 17th edition, added Math.sumPrecise for summing an iterable of Numbers of varying magnitude while minimizing precision loss; Iterator.concat for sequencing i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DanielRosenwasser |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width