diff --git a/packages/typescript/src/enums/scriptTarget.enum.ts b/packages/typescript/src/enums/scriptTarget.enum.ts
index beef0f0eeab76..61e41ab4b9fb3 100644
--- a/packages/typescript/src/enums/scriptTarget.enum.ts
+++ b/packages/typescript/src/enums/scriptTarget.enum.ts
@@ -10,6 +10,7 @@ export enum ScriptTarget {
ES2023 = 10,
ES2024 = 11,
ES2025 = 12,
+ ES2026 = 13,
ESNext = 99,
JSON = 100,
Latest = ESNext,
diff --git a/packages/typescript/src/enums/scriptTarget.ts b/packages/typescript/src/enums/scriptTarget.ts
index d750cba77a4bb..9ac0088f73e74 100644
--- a/packages/typescript/src/enums/scriptTarget.ts
+++ b/packages/typescript/src/enums/scriptTarget.ts
@@ -11,6 +11,7 @@ export var ScriptTarget: any;
ScriptTarget[ScriptTarget["ES2023"] = 10] = "ES2023";
ScriptTarget[ScriptTarget["ES2024"] = 11] = "ES2024";
ScriptTarget[ScriptTarget["ES2025"] = 12] = "ES2025";
+ ScriptTarget[ScriptTarget["ES2026"] = 13] = "ES2026";
ScriptTarget[ScriptTarget["ESNext"] = 99] = "ESNext";
ScriptTarget[ScriptTarget["JSON"] = 100] = "JSON";
ScriptTarget[ScriptTarget["Latest"] = 99] = "Latest";
diff --git a/packages/typescript/test/async/api.test.ts b/packages/typescript/test/async/api.test.ts
index 6ac85d8693c6c..2cdcd020536c4 100644
--- a/packages/typescript/test/async/api.test.ts
+++ b/packages/typescript/test/async/api.test.ts
@@ -5690,7 +5690,7 @@ describe("Program - diagnostics", () => {
...rangeOf(config, `"invalid"`),
code: 6046,
category: DiagnosticCategory.Error,
- text: "Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.",
+ text: "Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.",
}]);
});
diff --git a/packages/typescript/test/sync/api.test.ts b/packages/typescript/test/sync/api.test.ts
index cb2322eaa2e16..e3be85813a9ba 100644
--- a/packages/typescript/test/sync/api.test.ts
+++ b/packages/typescript/test/sync/api.test.ts
@@ -5577,7 +5577,7 @@ describe("Program - diagnostics", () => {
...rangeOf(config, `"invalid"`),
code: 6046,
category: DiagnosticCategory.Error,
- text: "Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.",
+ text: "Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.",
}]);
});
diff --git a/tsc/internal/bundled/embed_generated.go b/tsc/internal/bundled/embed_generated.go
index 53166f01f98d9..7cd5dfd744321 100644
--- a/tsc/internal/bundled/embed_generated.go
+++ b/tsc/internal/bundled/embed_generated.go
@@ -189,14 +189,28 @@ var (
libs_lib_es2025_promise_d_ts string
//go:embed libs/lib.es2025.regexp.d.ts
libs_lib_es2025_regexp_d_ts string
+ //go:embed libs/lib.es2026.array.d.ts
+ libs_lib_es2026_array_d_ts string
+ //go:embed libs/lib.es2026.collection.d.ts
+ libs_lib_es2026_collection_d_ts string
+ //go:embed libs/lib.es2026.d.ts
+ libs_lib_es2026_d_ts string
+ //go:embed libs/lib.es2026.error.d.ts
+ libs_lib_es2026_error_d_ts string
+ //go:embed libs/lib.es2026.full.d.ts
+ libs_lib_es2026_full_d_ts string
+ //go:embed libs/lib.es2026.iterator.d.ts
+ libs_lib_es2026_iterator_d_ts string
+ //go:embed libs/lib.es2026.json.d.ts
+ libs_lib_es2026_json_d_ts string
+ //go:embed libs/lib.es2026.math.d.ts
+ libs_lib_es2026_math_d_ts string
+ //go:embed libs/lib.es2026.typedarrays.d.ts
+ libs_lib_es2026_typedarrays_d_ts string
//go:embed libs/lib.es5.d.ts
libs_lib_es5_d_ts string
//go:embed libs/lib.es6.d.ts
libs_lib_es6_d_ts string
- //go:embed libs/lib.esnext.array.d.ts
- libs_lib_esnext_array_d_ts string
- //go:embed libs/lib.esnext.collection.d.ts
- libs_lib_esnext_collection_d_ts string
//go:embed libs/lib.esnext.d.ts
libs_lib_esnext_d_ts string
//go:embed libs/lib.esnext.date.d.ts
@@ -205,8 +219,6 @@ var (
libs_lib_esnext_decorators_d_ts string
//go:embed libs/lib.esnext.disposable.d.ts
libs_lib_esnext_disposable_d_ts string
- //go:embed libs/lib.esnext.error.d.ts
- libs_lib_esnext_error_d_ts string
//go:embed libs/lib.esnext.full.d.ts
libs_lib_esnext_full_d_ts string
//go:embed libs/lib.esnext.intl.d.ts
@@ -215,8 +227,6 @@ var (
libs_lib_esnext_sharedmemory_d_ts string
//go:embed libs/lib.esnext.temporal.d.ts
libs_lib_esnext_temporal_d_ts string
- //go:embed libs/lib.esnext.typedarrays.d.ts
- libs_lib_esnext_typedarrays_d_ts string
//go:embed libs/lib.scripthost.d.ts
libs_lib_scripthost_d_ts string
//go:embed libs/lib.webworker.asynciterable.d.ts
@@ -319,20 +329,25 @@ var embeddedContents = map[string]string{
"libs/lib.es2025.iterator.d.ts": libs_lib_es2025_iterator_d_ts,
"libs/lib.es2025.promise.d.ts": libs_lib_es2025_promise_d_ts,
"libs/lib.es2025.regexp.d.ts": libs_lib_es2025_regexp_d_ts,
+ "libs/lib.es2026.array.d.ts": libs_lib_es2026_array_d_ts,
+ "libs/lib.es2026.collection.d.ts": libs_lib_es2026_collection_d_ts,
+ "libs/lib.es2026.d.ts": libs_lib_es2026_d_ts,
+ "libs/lib.es2026.error.d.ts": libs_lib_es2026_error_d_ts,
+ "libs/lib.es2026.full.d.ts": libs_lib_es2026_full_d_ts,
+ "libs/lib.es2026.iterator.d.ts": libs_lib_es2026_iterator_d_ts,
+ "libs/lib.es2026.json.d.ts": libs_lib_es2026_json_d_ts,
+ "libs/lib.es2026.math.d.ts": libs_lib_es2026_math_d_ts,
+ "libs/lib.es2026.typedarrays.d.ts": libs_lib_es2026_typedarrays_d_ts,
"libs/lib.es5.d.ts": libs_lib_es5_d_ts,
"libs/lib.es6.d.ts": libs_lib_es6_d_ts,
- "libs/lib.esnext.array.d.ts": libs_lib_esnext_array_d_ts,
- "libs/lib.esnext.collection.d.ts": libs_lib_esnext_collection_d_ts,
"libs/lib.esnext.d.ts": libs_lib_esnext_d_ts,
"libs/lib.esnext.date.d.ts": libs_lib_esnext_date_d_ts,
"libs/lib.esnext.decorators.d.ts": libs_lib_esnext_decorators_d_ts,
"libs/lib.esnext.disposable.d.ts": libs_lib_esnext_disposable_d_ts,
- "libs/lib.esnext.error.d.ts": libs_lib_esnext_error_d_ts,
"libs/lib.esnext.full.d.ts": libs_lib_esnext_full_d_ts,
"libs/lib.esnext.intl.d.ts": libs_lib_esnext_intl_d_ts,
"libs/lib.esnext.sharedmemory.d.ts": libs_lib_esnext_sharedmemory_d_ts,
"libs/lib.esnext.temporal.d.ts": libs_lib_esnext_temporal_d_ts,
- "libs/lib.esnext.typedarrays.d.ts": libs_lib_esnext_typedarrays_d_ts,
"libs/lib.scripthost.d.ts": libs_lib_scripthost_d_ts,
"libs/lib.webworker.asynciterable.d.ts": libs_lib_webworker_asynciterable_d_ts,
"libs/lib.webworker.d.ts": libs_lib_webworker_d_ts,
@@ -430,20 +445,25 @@ var libsEntries = []fs.DirEntry{
&fileInfo{name: "lib.es2025.iterator.d.ts", size: int64(len(libs_lib_es2025_iterator_d_ts))},
&fileInfo{name: "lib.es2025.promise.d.ts", size: int64(len(libs_lib_es2025_promise_d_ts))},
&fileInfo{name: "lib.es2025.regexp.d.ts", size: int64(len(libs_lib_es2025_regexp_d_ts))},
+ &fileInfo{name: "lib.es2026.array.d.ts", size: int64(len(libs_lib_es2026_array_d_ts))},
+ &fileInfo{name: "lib.es2026.collection.d.ts", size: int64(len(libs_lib_es2026_collection_d_ts))},
+ &fileInfo{name: "lib.es2026.d.ts", size: int64(len(libs_lib_es2026_d_ts))},
+ &fileInfo{name: "lib.es2026.error.d.ts", size: int64(len(libs_lib_es2026_error_d_ts))},
+ &fileInfo{name: "lib.es2026.full.d.ts", size: int64(len(libs_lib_es2026_full_d_ts))},
+ &fileInfo{name: "lib.es2026.iterator.d.ts", size: int64(len(libs_lib_es2026_iterator_d_ts))},
+ &fileInfo{name: "lib.es2026.json.d.ts", size: int64(len(libs_lib_es2026_json_d_ts))},
+ &fileInfo{name: "lib.es2026.math.d.ts", size: int64(len(libs_lib_es2026_math_d_ts))},
+ &fileInfo{name: "lib.es2026.typedarrays.d.ts", size: int64(len(libs_lib_es2026_typedarrays_d_ts))},
&fileInfo{name: "lib.es5.d.ts", size: int64(len(libs_lib_es5_d_ts))},
&fileInfo{name: "lib.es6.d.ts", size: int64(len(libs_lib_es6_d_ts))},
- &fileInfo{name: "lib.esnext.array.d.ts", size: int64(len(libs_lib_esnext_array_d_ts))},
- &fileInfo{name: "lib.esnext.collection.d.ts", size: int64(len(libs_lib_esnext_collection_d_ts))},
&fileInfo{name: "lib.esnext.d.ts", size: int64(len(libs_lib_esnext_d_ts))},
&fileInfo{name: "lib.esnext.date.d.ts", size: int64(len(libs_lib_esnext_date_d_ts))},
&fileInfo{name: "lib.esnext.decorators.d.ts", size: int64(len(libs_lib_esnext_decorators_d_ts))},
&fileInfo{name: "lib.esnext.disposable.d.ts", size: int64(len(libs_lib_esnext_disposable_d_ts))},
- &fileInfo{name: "lib.esnext.error.d.ts", size: int64(len(libs_lib_esnext_error_d_ts))},
&fileInfo{name: "lib.esnext.full.d.ts", size: int64(len(libs_lib_esnext_full_d_ts))},
&fileInfo{name: "lib.esnext.intl.d.ts", size: int64(len(libs_lib_esnext_intl_d_ts))},
&fileInfo{name: "lib.esnext.sharedmemory.d.ts", size: int64(len(libs_lib_esnext_sharedmemory_d_ts))},
&fileInfo{name: "lib.esnext.temporal.d.ts", size: int64(len(libs_lib_esnext_temporal_d_ts))},
- &fileInfo{name: "lib.esnext.typedarrays.d.ts", size: int64(len(libs_lib_esnext_typedarrays_d_ts))},
&fileInfo{name: "lib.scripthost.d.ts", size: int64(len(libs_lib_scripthost_d_ts))},
&fileInfo{name: "lib.webworker.asynciterable.d.ts", size: int64(len(libs_lib_webworker_asynciterable_d_ts))},
&fileInfo{name: "lib.webworker.d.ts", size: int64(len(libs_lib_webworker_d_ts))},
diff --git a/tsc/internal/bundled/libs/lib.esnext.array.d.ts b/tsc/internal/bundled/libs/lib.es2026.array.d.ts
similarity index 100%
rename from tsc/internal/bundled/libs/lib.esnext.array.d.ts
rename to tsc/internal/bundled/libs/lib.es2026.array.d.ts
diff --git a/tsc/internal/bundled/libs/lib.esnext.collection.d.ts b/tsc/internal/bundled/libs/lib.es2026.collection.d.ts
similarity index 100%
rename from tsc/internal/bundled/libs/lib.esnext.collection.d.ts
rename to tsc/internal/bundled/libs/lib.es2026.collection.d.ts
diff --git a/tsc/internal/bundled/libs/lib.es2026.d.ts b/tsc/internal/bundled/libs/lib.es2026.d.ts
new file mode 100644
index 0000000000000..94f4967830955
--- /dev/null
+++ b/tsc/internal/bundled/libs/lib.es2026.d.ts
@@ -0,0 +1,24 @@
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this file except in compliance with the License. You may obtain a copy of the
+License at http://www.apache.org/licenses/LICENSE-2.0
+
+THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
+MERCHANTABILITY OR NON-INFRINGEMENT.
+
+See the Apache Version 2.0 License for specific language governing permissions
+and limitations under the License.
+***************************************************************************** */
+
+
+///
+///
+///
+///
+///
+///
+///
+///
diff --git a/tsc/internal/bundled/libs/lib.esnext.error.d.ts b/tsc/internal/bundled/libs/lib.es2026.error.d.ts
similarity index 100%
rename from tsc/internal/bundled/libs/lib.esnext.error.d.ts
rename to tsc/internal/bundled/libs/lib.es2026.error.d.ts
diff --git a/tsc/internal/bundled/libs/lib.es2026.full.d.ts b/tsc/internal/bundled/libs/lib.es2026.full.d.ts
new file mode 100644
index 0000000000000..75b29f99aab6e
--- /dev/null
+++ b/tsc/internal/bundled/libs/lib.es2026.full.d.ts
@@ -0,0 +1,22 @@
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this file except in compliance with the License. You may obtain a copy of the
+License at http://www.apache.org/licenses/LICENSE-2.0
+
+THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
+MERCHANTABILITY OR NON-INFRINGEMENT.
+
+See the Apache Version 2.0 License for specific language governing permissions
+and limitations under the License.
+***************************************************************************** */
+
+
+///
+///
+///
+///
+///
+///
diff --git a/tsc/internal/bundled/libs/lib.es2026.iterator.d.ts b/tsc/internal/bundled/libs/lib.es2026.iterator.d.ts
new file mode 100644
index 0000000000000..a91a00f6bd4de
--- /dev/null
+++ b/tsc/internal/bundled/libs/lib.es2026.iterator.d.ts
@@ -0,0 +1,25 @@
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this file except in compliance with the License. You may obtain a copy of the
+License at http://www.apache.org/licenses/LICENSE-2.0
+
+THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
+MERCHANTABILITY OR NON-INFRINGEMENT.
+
+See the Apache Version 2.0 License for specific language governing permissions
+and limitations under the License.
+***************************************************************************** */
+
+
+///
+
+interface IteratorConstructor {
+ /**
+ * Creates an iterator that yields the values of each iterable in sequence.
+ * @param iterables Iterable objects to concatenate.
+ */
+ concat(...iterables: { -readonly [K in keyof T]: Iterable & object }): IteratorObject;
+}
diff --git a/tsc/internal/bundled/libs/lib.es2026.json.d.ts b/tsc/internal/bundled/libs/lib.es2026.json.d.ts
new file mode 100644
index 0000000000000..cd39287070fee
--- /dev/null
+++ b/tsc/internal/bundled/libs/lib.es2026.json.d.ts
@@ -0,0 +1,47 @@
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this file except in compliance with the License. You may obtain a copy of the
+License at http://www.apache.org/licenses/LICENSE-2.0
+
+THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
+MERCHANTABILITY OR NON-INFRINGEMENT.
+
+See the Apache Version 2.0 License for specific language governing permissions
+and limitations under the License.
+***************************************************************************** */
+
+
+/**
+ * A frozen object containing JSON text for a primitive value, created by `JSON.rawJSON()`.
+ */
+interface RawJSON {
+ readonly rawJSON: string;
+}
+
+interface JSON {
+ /**
+ * Converts a JavaScript Object Notation (JSON) string into an object.
+ * @param text A valid JSON string.
+ * @param reviver A function that transforms the results. This function is called for each member of the object.
+ * If a member contains nested objects, the nested objects are transformed before the parent object is.
+ * The context object has a `source` property when the property is unmodified and its value is primitive.
+ * @throws {SyntaxError} If `text` is not valid JSON.
+ */
+ parse(text: string, reviver: (this: any, key: string, value: any, context: { source?: string }) => any): any;
+
+ /**
+ * Creates a frozen object containing JSON text for a primitive value.
+ * @param text Valid JSON text representing a string, number, boolean, or null value.
+ * @throws {SyntaxError} If `text` is not valid JSON text for a primitive value.
+ */
+ rawJSON(text: string): RawJSON;
+
+ /**
+ * Indicates whether the provided value is an object returned by `JSON.rawJSON()`.
+ * @param value The value to test.
+ */
+ isRawJSON(value: unknown): value is RawJSON;
+}
diff --git a/tsc/internal/bundled/libs/lib.es2026.math.d.ts b/tsc/internal/bundled/libs/lib.es2026.math.d.ts
new file mode 100644
index 0000000000000..1a135e742a95f
--- /dev/null
+++ b/tsc/internal/bundled/libs/lib.es2026.math.d.ts
@@ -0,0 +1,27 @@
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this file except in compliance with the License. You may obtain a copy of the
+License at http://www.apache.org/licenses/LICENSE-2.0
+
+THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
+MERCHANTABILITY OR NON-INFRINGEMENT.
+
+See the Apache Version 2.0 License for specific language governing permissions
+and limitations under the License.
+***************************************************************************** */
+
+
+///
+
+interface Math {
+ /**
+ * Sums the values in an iterable while minimizing loss of precision.
+ * @param items An iterable of numbers to sum.
+ * @throws {TypeError} If `items` is not iterable or contains a value that is not a number.
+ * @throws {RangeError} If `items` contains 2^53 or more values.
+ */
+ sumPrecise(items: Iterable): number;
+}
diff --git a/tsc/internal/bundled/libs/lib.esnext.typedarrays.d.ts b/tsc/internal/bundled/libs/lib.es2026.typedarrays.d.ts
similarity index 100%
rename from tsc/internal/bundled/libs/lib.esnext.typedarrays.d.ts
rename to tsc/internal/bundled/libs/lib.es2026.typedarrays.d.ts
diff --git a/tsc/internal/bundled/libs/lib.esnext.d.ts b/tsc/internal/bundled/libs/lib.esnext.d.ts
index 044947f4d2aa0..07582b0de9614 100644
--- a/tsc/internal/bundled/libs/lib.esnext.d.ts
+++ b/tsc/internal/bundled/libs/lib.esnext.d.ts
@@ -14,14 +14,10 @@ and limitations under the License.
***************************************************************************** */
-///
+///
///
-///
///
///
-///
-///
///
-///
///
///
diff --git a/tsc/internal/bundled/libs_generated.go b/tsc/internal/bundled/libs_generated.go
index 6750307190f5b..c0c0dece8ffeb 100644
--- a/tsc/internal/bundled/libs_generated.go
+++ b/tsc/internal/bundled/libs_generated.go
@@ -94,20 +94,25 @@ var LibNames = []string{
"lib.es2025.iterator.d.ts",
"lib.es2025.promise.d.ts",
"lib.es2025.regexp.d.ts",
+ "lib.es2026.array.d.ts",
+ "lib.es2026.collection.d.ts",
+ "lib.es2026.d.ts",
+ "lib.es2026.error.d.ts",
+ "lib.es2026.full.d.ts",
+ "lib.es2026.iterator.d.ts",
+ "lib.es2026.json.d.ts",
+ "lib.es2026.math.d.ts",
+ "lib.es2026.typedarrays.d.ts",
"lib.es5.d.ts",
"lib.es6.d.ts",
- "lib.esnext.array.d.ts",
- "lib.esnext.collection.d.ts",
"lib.esnext.d.ts",
"lib.esnext.date.d.ts",
"lib.esnext.decorators.d.ts",
"lib.esnext.disposable.d.ts",
- "lib.esnext.error.d.ts",
"lib.esnext.full.d.ts",
"lib.esnext.intl.d.ts",
"lib.esnext.sharedmemory.d.ts",
"lib.esnext.temporal.d.ts",
- "lib.esnext.typedarrays.d.ts",
"lib.scripthost.d.ts",
"lib.webworker.asynciterable.d.ts",
"lib.webworker.d.ts",
diff --git a/tsc/internal/checker/utilities.go b/tsc/internal/checker/utilities.go
index 132b3b98692c1..39e04557a77fe 100644
--- a/tsc/internal/checker/utilities.go
+++ b/tsc/internal/checker/utilities.go
@@ -1317,6 +1317,15 @@ var getFeatureMap = sync.OnceValue(func() map[string][]FeatureMapEntry {
"Iterator": {
{lib: "es2015", props: []string{}},
},
+ "IteratorConstructor": {
+ {lib: "es2026", props: []string{"concat"}},
+ },
+ "RawJSON": {
+ {lib: "es2026", props: []string{}},
+ },
+ "JSON": {
+ {lib: "es2026", props: []string{"isRawJSON", "rawJSON"}},
+ },
"AsyncIterator": {
{lib: "es2015", props: []string{}},
},
@@ -1385,7 +1394,7 @@ var getFeatureMap = sync.OnceValue(func() map[string][]FeatureMapEntry {
},
"ArrayConstructor": {
{lib: "es2015", props: []string{"from", "of"}},
- {lib: "esnext", props: []string{"fromAsync"}},
+ {lib: "es2026", props: []string{"fromAsync"}},
},
"ObjectConstructor": {
{lib: "es2015", props: []string{"assign", "getOwnPropertySymbols", "keys", "is", "setPrototypeOf"}},
@@ -1400,10 +1409,11 @@ var getFeatureMap = sync.OnceValue(func() map[string][]FeatureMapEntry {
"Math": {
{lib: "es2015", props: []string{"clz32", "imul", "sign", "log10", "log2", "log1p", "expm1", "cosh", "sinh", "tanh", "acosh", "asinh", "atanh", "hypot", "trunc", "fround", "cbrt"}},
{lib: "es2025", props: []string{"f16round"}},
+ {lib: "es2026", props: []string{"sumPrecise"}},
},
"Map": {
{lib: "es2015", props: []string{"entries", "keys", "values"}},
- {lib: "esnext", props: []string{
+ {lib: "es2026", props: []string{
"getOrInsert",
"getOrInsertComputed",
}},
@@ -1436,7 +1446,7 @@ var getFeatureMap = sync.OnceValue(func() map[string][]FeatureMapEntry {
},
"WeakMap": {
{lib: "es2015", props: []string{}},
- {lib: "esnext", props: []string{
+ {lib: "es2026", props: []string{
"getOrInsert",
"getOrInsertComputed",
}},
@@ -1504,6 +1514,7 @@ var getFeatureMap = sync.OnceValue(func() map[string][]FeatureMapEntry {
"Uint8Array": {
{lib: "es2022", props: []string{"at"}},
{lib: "es2023", props: []string{"findLastIndex", "findLast", "toReversed", "toSorted", "toSpliced", "with"}},
+ {lib: "es2026", props: []string{"toBase64", "setFromBase64", "toHex", "setFromHex"}},
},
"Uint8ClampedArray": {
{lib: "es2022", props: []string{"at"}},
@@ -1550,10 +1561,10 @@ var getFeatureMap = sync.OnceValue(func() map[string][]FeatureMapEntry {
{lib: "es2022", props: []string{"cause"}},
},
"ErrorConstructor": {
- {lib: "esnext", props: []string{"isError"}},
+ {lib: "es2026", props: []string{"isError"}},
},
"Uint8ArrayConstructor": {
- {lib: "esnext", props: []string{"fromBase64", "fromHex"}},
+ {lib: "es2026", props: []string{"fromBase64", "fromHex"}},
},
"DisposableStack": {
{lib: "esnext", props: []string{}},
diff --git a/tsc/internal/compiler/program_test.go b/tsc/internal/compiler/program_test.go
index 0b91d2ce073e0..01ab79a363be1 100644
--- a/tsc/internal/compiler/program_test.go
+++ b/tsc/internal/compiler/program_test.go
@@ -43,6 +43,7 @@ var esnextLibs = []string{
"lib.es2023.d.ts",
"lib.es2024.d.ts",
"lib.es2025.d.ts",
+ "lib.es2026.d.ts",
"lib.esnext.d.ts",
"lib.dom.d.ts",
"lib.dom.iterable.d.ts",
@@ -111,16 +112,19 @@ var esnextLibs = []string{
"lib.es2025.iterator.d.ts",
"lib.es2025.promise.d.ts",
"lib.es2025.regexp.d.ts",
- "lib.esnext.array.d.ts",
- "lib.esnext.collection.d.ts",
+ "lib.es2026.array.d.ts",
+ "lib.es2026.collection.d.ts",
+ "lib.es2026.error.d.ts",
+ "lib.es2026.iterator.d.ts",
+ "lib.es2026.json.d.ts",
+ "lib.es2026.math.d.ts",
+ "lib.es2026.typedarrays.d.ts",
"lib.esnext.date.d.ts",
"lib.esnext.decorators.d.ts",
"lib.esnext.disposable.d.ts",
- "lib.esnext.error.d.ts",
"lib.esnext.intl.d.ts",
"lib.esnext.sharedmemory.d.ts",
"lib.esnext.temporal.d.ts",
- "lib.esnext.typedarrays.d.ts",
"lib.decorators.d.ts",
"lib.decorators.legacy.d.ts",
"lib.esnext.full.d.ts",
diff --git a/tsc/internal/core/compileroptions.go b/tsc/internal/core/compileroptions.go
index 55401a499f3a8..c726f1c8baba7 100644
--- a/tsc/internal/core/compileroptions.go
+++ b/tsc/internal/core/compileroptions.go
@@ -520,10 +520,11 @@ const (
ScriptTargetES2023 ScriptTarget = 10
ScriptTargetES2024 ScriptTarget = 11
ScriptTargetES2025 ScriptTarget = 12
+ ScriptTargetES2026 ScriptTarget = 13
ScriptTargetESNext ScriptTarget = 99
ScriptTargetJSON ScriptTarget = 100
ScriptTargetLatest ScriptTarget = ScriptTargetESNext
- ScriptTargetLatestStandard ScriptTarget = ScriptTargetES2025
+ ScriptTargetLatestStandard ScriptTarget = ScriptTargetES2026
)
type JsxEmit int32
diff --git a/tsc/internal/core/scripttarget_stringer_generated.go b/tsc/internal/core/scripttarget_stringer_generated.go
index 8198b06fb09d5..0e4f53685bee9 100644
--- a/tsc/internal/core/scripttarget_stringer_generated.go
+++ b/tsc/internal/core/scripttarget_stringer_generated.go
@@ -21,25 +21,26 @@ func _() {
_ = x[ScriptTargetES2023-10]
_ = x[ScriptTargetES2024-11]
_ = x[ScriptTargetES2025-12]
+ _ = x[ScriptTargetES2026-13]
_ = x[ScriptTargetESNext-99]
_ = x[ScriptTargetJSON-100]
_ = x[ScriptTargetLatest-99]
- _ = x[ScriptTargetLatestStandard-12]
+ _ = x[ScriptTargetLatestStandard-13]
}
const (
- _ScriptTarget_name_0 = "NoneES5ES2015ES2016ES2017ES2018ES2019ES2020ES2021ES2022ES2023ES2024ES2025"
+ _ScriptTarget_name_0 = "NoneES5ES2015ES2016ES2017ES2018ES2019ES2020ES2021ES2022ES2023ES2024ES2025ES2026"
_ScriptTarget_name_1 = "ESNextJSON"
)
var (
- _ScriptTarget_index_0 = [...]uint8{0, 4, 7, 13, 19, 25, 31, 37, 43, 49, 55, 61, 67, 73}
+ _ScriptTarget_index_0 = [...]uint8{0, 4, 7, 13, 19, 25, 31, 37, 43, 49, 55, 61, 67, 73, 79}
_ScriptTarget_index_1 = [...]uint8{0, 6, 10}
)
func (i ScriptTarget) String() string {
switch {
- case 0 <= i && i <= 12:
+ case 0 <= i && i <= 13:
return _ScriptTarget_name_0[_ScriptTarget_index_0[i]:_ScriptTarget_index_0[i+1]]
case 99 <= i && i <= 100:
i -= 99
diff --git a/tsc/internal/transformers/estransforms/definitions.go b/tsc/internal/transformers/estransforms/definitions.go
index 7f9dc9ae81653..80a99ff64cf58 100644
--- a/tsc/internal/transformers/estransforms/definitions.go
+++ b/tsc/internal/transformers/estransforms/definitions.go
@@ -8,6 +8,7 @@ import (
var (
esDecoratorAndClassFields = transformers.Chain(newESDecoratorTransformer, newClassFieldsTransformer)
NewESNextTransformer = transformers.Chain(newUsingDeclarationTransformer, esDecoratorAndClassFields)
+ // 2026: no new downlevel syntax
// 2025: only module system syntax (import attributes, json modules), untransformed regex modifiers
// 2024: no new downlevel syntax
// 2023: no new downlevel syntax
@@ -25,7 +26,7 @@ func GetESTransformer(opts *transformers.TransformOptions) *transformers.Transfo
switch options.GetEmitScriptTarget() {
case core.ScriptTargetESNext:
return esDecoratorAndClassFields(opts)
- case core.ScriptTargetES2025, core.ScriptTargetES2024, core.ScriptTargetES2023, core.ScriptTargetES2022, core.ScriptTargetES2021:
+ case core.ScriptTargetES2026, core.ScriptTargetES2025, core.ScriptTargetES2024, core.ScriptTargetES2023, core.ScriptTargetES2022, core.ScriptTargetES2021:
return NewESNextTransformer(opts)
case core.ScriptTargetES2020:
return NewES2021Transformer(opts)
diff --git a/tsc/internal/tsoptions/enummaps.go b/tsc/internal/tsoptions/enummaps.go
index 3bf67a8640675..c5a966aaf2efe 100644
--- a/tsc/internal/tsoptions/enummaps.go
+++ b/tsc/internal/tsoptions/enummaps.go
@@ -24,6 +24,7 @@ var LibMap = collections.NewOrderedMapFromList([]collections.MapEntry[string, an
{Key: "es2023", Value: "lib.es2023.d.ts"},
{Key: "es2024", Value: "lib.es2024.d.ts"},
{Key: "es2025", Value: "lib.es2025.d.ts"},
+ {Key: "es2026", Value: "lib.es2026.d.ts"},
{Key: "esnext", Value: "lib.esnext.d.ts"},
// Host only
{Key: "dom", Value: "lib.dom.d.ts"},
@@ -97,6 +98,13 @@ var LibMap = collections.NewOrderedMapFromList([]collections.MapEntry[string, an
{Key: "es2025.iterator", Value: "lib.es2025.iterator.d.ts"},
{Key: "es2025.promise", Value: "lib.es2025.promise.d.ts"},
{Key: "es2025.regexp", Value: "lib.es2025.regexp.d.ts"},
+ {Key: "es2026.array", Value: "lib.es2026.array.d.ts"},
+ {Key: "es2026.collection", Value: "lib.es2026.collection.d.ts"},
+ {Key: "es2026.error", Value: "lib.es2026.error.d.ts"},
+ {Key: "es2026.iterator", Value: "lib.es2026.iterator.d.ts"},
+ {Key: "es2026.json", Value: "lib.es2026.json.d.ts"},
+ {Key: "es2026.math", Value: "lib.es2026.math.d.ts"},
+ {Key: "es2026.typedarrays", Value: "lib.es2026.typedarrays.d.ts"},
// Fallback for backward compatibility
{Key: "esnext.asynciterable", Value: "lib.es2018.asynciterable.d.ts"},
{Key: "esnext.symbol", Value: "lib.es2019.symbol.d.ts"},
@@ -106,19 +114,19 @@ var LibMap = collections.NewOrderedMapFromList([]collections.MapEntry[string, an
{Key: "esnext.regexp", Value: "lib.es2024.regexp.d.ts"},
{Key: "esnext.string", Value: "lib.es2024.string.d.ts"},
{Key: "esnext.float16", Value: "lib.es2025.float16.d.ts"},
- {Key: "esnext.iterator", Value: "lib.es2025.iterator.d.ts"},
{Key: "esnext.promise", Value: "lib.es2025.promise.d.ts"},
+ {Key: "esnext.array", Value: "lib.es2026.array.d.ts"},
+ {Key: "esnext.collection", Value: "lib.es2026.collection.d.ts"},
+ {Key: "esnext.error", Value: "lib.es2026.error.d.ts"},
+ {Key: "esnext.iterator", Value: "lib.es2026.iterator.d.ts"},
+ {Key: "esnext.typedarrays", Value: "lib.es2026.typedarrays.d.ts"},
// ESNext By-feature options
- {Key: "esnext.array", Value: "lib.esnext.array.d.ts"},
- {Key: "esnext.collection", Value: "lib.esnext.collection.d.ts"},
{Key: "esnext.date", Value: "lib.esnext.date.d.ts"},
{Key: "esnext.decorators", Value: "lib.esnext.decorators.d.ts"},
{Key: "esnext.disposable", Value: "lib.esnext.disposable.d.ts"},
- {Key: "esnext.error", Value: "lib.esnext.error.d.ts"},
{Key: "esnext.intl", Value: "lib.esnext.intl.d.ts"},
{Key: "esnext.sharedmemory", Value: "lib.esnext.sharedmemory.d.ts"},
{Key: "esnext.temporal", Value: "lib.esnext.temporal.d.ts"},
- {Key: "esnext.typedarrays", Value: "lib.esnext.typedarrays.d.ts"},
// Decorators
{Key: "decorators", Value: "lib.decorators.d.ts"},
{Key: "decorators.legacy", Value: "lib.decorators.legacy.d.ts"},
@@ -165,6 +173,7 @@ var targetOptionMap = collections.NewOrderedMapFromList([]collections.MapEntry[s
{Key: "es2023", Value: core.ScriptTargetES2023},
{Key: "es2024", Value: core.ScriptTargetES2024},
{Key: "es2025", Value: core.ScriptTargetES2025},
+ {Key: "es2026", Value: core.ScriptTargetES2026},
{Key: "esnext", Value: core.ScriptTargetESNext},
})
@@ -206,6 +215,7 @@ var newLineOptionMap = collections.NewOrderedMapFromList([]collections.MapEntry[
var targetToLibMap = map[core.ScriptTarget]string{
core.ScriptTargetESNext: "lib.esnext.full.d.ts",
+ core.ScriptTargetES2026: "lib.es2026.full.d.ts",
core.ScriptTargetES2025: "lib.es2025.full.d.ts",
core.ScriptTargetES2024: "lib.es2024.full.d.ts",
core.ScriptTargetES2023: "lib.es2023.full.d.ts",
diff --git a/tsc/testdata/baselines/reference/compiler/acceptSymbolAsWeakType.symbols b/tsc/testdata/baselines/reference/compiler/acceptSymbolAsWeakType.symbols
index 0273df7988f7a..eab353a99ba0e 100644
--- a/tsc/testdata/baselines/reference/compiler/acceptSymbolAsWeakType.symbols
+++ b/tsc/testdata/baselines/reference/compiler/acceptSymbolAsWeakType.symbols
@@ -30,7 +30,7 @@ ws.delete(s);
const wm = new WeakMap([[s, false]]);
>wm : Symbol(wm, Decl(acceptSymbolAsWeakType.ts, 7, 5))
->WeakMap : Symbol(WeakMap, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>WeakMap : Symbol(WeakMap, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
>s : Symbol(s, Decl(acceptSymbolAsWeakType.ts, 0, 5))
wm.set(s, true);
diff --git a/tsc/testdata/baselines/reference/compiler/arrayFromAsync.symbols b/tsc/testdata/baselines/reference/compiler/arrayFromAsync.symbols
index 9845986699905..a0ffc02248bd1 100644
--- a/tsc/testdata/baselines/reference/compiler/arrayFromAsync.symbols
+++ b/tsc/testdata/baselines/reference/compiler/arrayFromAsync.symbols
@@ -81,16 +81,16 @@ for await (const v of asyncGen(4)) {
const sameArr1 = await Array.fromAsync(arrLike);
>sameArr1 : Symbol(sameArr1, Decl(arrayFromAsync.ts, 25, 5))
->Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
->fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>arrLike : Symbol(arrLike, Decl(arrayFromAsync.ts, 12, 5))
const sameArr2 = await Array.fromAsync([Promise.resolve(0), Promise.resolve(2), Promise.resolve(4), Promise.resolve(6)]);
>sameArr2 : Symbol(sameArr2, Decl(arrayFromAsync.ts, 26, 5))
->Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
->fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>Promise.resolve : Symbol(PromiseConstructor.resolve, Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --))
>resolve : Symbol(PromiseConstructor.resolve, Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --))
@@ -106,16 +106,16 @@ const sameArr2 = await Array.fromAsync([Promise.resolve(0), Promise.resolve(2),
const sameArr3 = await Array.fromAsync(genPromises(4));
>sameArr3 : Symbol(sameArr3, Decl(arrayFromAsync.ts, 27, 5))
->Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
->fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>genPromises : Symbol(genPromises, Decl(arrayFromAsync.ts, 4, 3))
const sameArr4 = await Array.fromAsync(asyncGen(4));
>sameArr4 : Symbol(sameArr4, Decl(arrayFromAsync.ts, 28, 5))
->Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
->fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>asyncGen : Symbol(asyncGen, Decl(arrayFromAsync.ts, 0, 11))
function Data (n) {}
@@ -126,9 +126,9 @@ Data.fromAsync = Array.fromAsync;
>Data.fromAsync : Symbol(Data.fromAsync, Decl(arrayFromAsync.ts, 30, 20))
>Data : Symbol(Data, Decl(arrayFromAsync.ts, 28, 52))
>fromAsync : Symbol(Data.fromAsync, Decl(arrayFromAsync.ts, 30, 20))
->Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
->fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
const sameArr5 = await Data.fromAsync(asyncGen(4));
>sameArr5 : Symbol(sameArr5, Decl(arrayFromAsync.ts, 32, 5))
@@ -139,18 +139,18 @@ const sameArr5 = await Data.fromAsync(asyncGen(4));
const mapArr1 = await Array.fromAsync(asyncGen(4), v => v ** 2);
>mapArr1 : Symbol(mapArr1, Decl(arrayFromAsync.ts, 34, 5))
->Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
->fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>asyncGen : Symbol(asyncGen, Decl(arrayFromAsync.ts, 0, 11))
>v : Symbol(v, Decl(arrayFromAsync.ts, 34, 50))
>v : Symbol(v, Decl(arrayFromAsync.ts, 34, 50))
const mapArr2 = await Array.fromAsync([0,2,4,6], v => Promise.resolve(v ** 2));
>mapArr2 : Symbol(mapArr2, Decl(arrayFromAsync.ts, 35, 5))
->Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
->fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>v : Symbol(v, Decl(arrayFromAsync.ts, 35, 48))
>Promise.resolve : Symbol(PromiseConstructor.resolve, Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --))
@@ -159,9 +159,9 @@ const mapArr2 = await Array.fromAsync([0,2,4,6], v => Promise.resolve(v ** 2));
const mapArr3 = await Array.fromAsync([0,2,4,6], v => v ** 2);
>mapArr3 : Symbol(mapArr3, Decl(arrayFromAsync.ts, 36, 5))
->Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
->fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>v : Symbol(v, Decl(arrayFromAsync.ts, 36, 48))
>v : Symbol(v, Decl(arrayFromAsync.ts, 36, 48))
@@ -180,16 +180,16 @@ const badIterable = { [Symbol.iterator] () { throw err; } };
// This returns a promise that will reject with `err`.
const badArray = await Array.fromAsync(badIterable);
>badArray : Symbol(badArray, Decl(arrayFromAsync.ts, 41, 5))
->Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
->fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>badIterable : Symbol(badIterable, Decl(arrayFromAsync.ts, 39, 5))
const withIndexResult = await Array.fromAsync(["a", "b"], (str, index) => ({ index, str }));
>withIndexResult : Symbol(withIndexResult, Decl(arrayFromAsync.ts, 43, 5))
->Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>Array.fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
->fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.esnext.array.d.ts, --, --), Decl(lib.esnext.array.d.ts, --, --))
+>fromAsync : Symbol(ArrayConstructor.fromAsync, Decl(lib.es2026.array.d.ts, --, --), Decl(lib.es2026.array.d.ts, --, --))
>str : Symbol(str, Decl(arrayFromAsync.ts, 43, 59))
>index : Symbol(index, Decl(arrayFromAsync.ts, 43, 63))
>index : Symbol(index, Decl(arrayFromAsync.ts, 43, 76))
diff --git a/tsc/testdata/baselines/reference/compiler/builtinIterator.symbols b/tsc/testdata/baselines/reference/compiler/builtinIterator.symbols
index 8cca78ea45700..776f9793134f5 100644
--- a/tsc/testdata/baselines/reference/compiler/builtinIterator.symbols
+++ b/tsc/testdata/baselines/reference/compiler/builtinIterator.symbols
@@ -50,7 +50,7 @@ const iteratorFromBare = Iterator.from({
done: Math.random() < .5,
>done : Symbol(done, Decl(builtinIterator.ts, 13, 12))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
value: "a string",
@@ -117,7 +117,7 @@ class BadIterator1 extends Iterator {
if (Math.random() < .5) {
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
return { done: false, value: 0 } as const;
@@ -156,7 +156,7 @@ class BadIterator3 extends Iterator {
if (Math.random() < .5) {
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
return { done: false, value: 0 };
diff --git a/tsc/testdata/baselines/reference/compiler/builtinIterator.types b/tsc/testdata/baselines/reference/compiler/builtinIterator.types
index 36094697ac1ef..30a71077c28cf 100644
--- a/tsc/testdata/baselines/reference/compiler/builtinIterator.types
+++ b/tsc/testdata/baselines/reference/compiler/builtinIterator.types
@@ -4,9 +4,9 @@
const iterator = Iterator.from([0, 1, 2]);
>iterator : IteratorObject
>Iterator.from([0, 1, 2]) : IteratorObject
->Iterator.from : (value: Iterator | Iterable) => IteratorObject
+>Iterator.from : (value: Iterable | Iterator) => IteratorObject
>Iterator : IteratorConstructor
->from : (value: Iterator | Iterable) => IteratorObject
+>from : (value: Iterable | Iterator) => IteratorObject
>[0, 1, 2] : number[]
>0 : 0
>1 : 1
@@ -52,9 +52,9 @@ const zero = iterator.filter(isZero);
const iteratorFromBare = Iterator.from({
>iteratorFromBare : IteratorObject
>Iterator.from({ next() { return { done: Math.random() < .5, value: "a string", }; },}) : IteratorObject
->Iterator.from : (value: Iterator | Iterable) => IteratorObject
+>Iterator.from : (value: Iterable | Iterator) => IteratorObject
>Iterator : IteratorConstructor
->from : (value: Iterator | Iterable) => IteratorObject
+>from : (value: Iterable | Iterator) => IteratorObject
>{ next() { return { done: Math.random() < .5, value: "a string", }; },} : { next(): { done: boolean; value: string; }; }
next() {
@@ -244,9 +244,9 @@ declare const g1: Generator;
const iter1 = Iterator.from(g1);
>iter1 : IteratorObject
>Iterator.from(g1) : IteratorObject
->Iterator.from : (value: Iterator | Iterable) => IteratorObject
+>Iterator.from : (value: Iterable | Iterator) => IteratorObject
>Iterator : IteratorConstructor
->from : (value: Iterator | Iterable) => IteratorObject
+>from : (value: Iterable | Iterator) => IteratorObject
>g1 : Generator
declare const iter2: IteratorObject;
diff --git a/tsc/testdata/baselines/reference/compiler/controlFlowForFunctionLike1.symbols b/tsc/testdata/baselines/reference/compiler/controlFlowForFunctionLike1.symbols
index f9a461c9c7c66..19b3a957e4797 100644
--- a/tsc/testdata/baselines/reference/compiler/controlFlowForFunctionLike1.symbols
+++ b/tsc/testdata/baselines/reference/compiler/controlFlowForFunctionLike1.symbols
@@ -81,7 +81,7 @@ function test4(a: number | string) {
if (Math.random() && typeof a === "number") {
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
>a : Symbol(a, Decl(controlFlowForFunctionLike1.ts, 32, 15))
diff --git a/tsc/testdata/baselines/reference/compiler/controlFlowFunctionLikeCircular1.symbols b/tsc/testdata/baselines/reference/compiler/controlFlowFunctionLikeCircular1.symbols
index 4e27281c8a905..4fc5af4046e1f 100644
--- a/tsc/testdata/baselines/reference/compiler/controlFlowFunctionLikeCircular1.symbols
+++ b/tsc/testdata/baselines/reference/compiler/controlFlowFunctionLikeCircular1.symbols
@@ -17,7 +17,7 @@ unionOfDifferentReturnType1(true);
const unionOfDifferentReturnType1 = Math.random() ? (a: any) => 1 : (a: number) => ({}) as typeof Date;
>unionOfDifferentReturnType1 : Symbol(unionOfDifferentReturnType1, Decl(controlFlowFunctionLikeCircular_2.ts, 1, 5))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
>a : Symbol(a, Decl(controlFlowFunctionLikeCircular_2.ts, 1, 53))
>a : Symbol(a, Decl(controlFlowFunctionLikeCircular_2.ts, 1, 69))
@@ -35,7 +35,7 @@ function test(arg: () => string) {
>fn : Symbol(fn, Decl(controlFlowFunctionLikeCircular_3.ts, 2, 7))
>fn : Symbol(fn, Decl(controlFlowFunctionLikeCircular_3.ts, 2, 7))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
>arg : Symbol(arg, Decl(controlFlowFunctionLikeCircular_3.ts, 0, 14))
>arg : Symbol(arg)
@@ -52,7 +52,7 @@ function test(arg: () => string) {
const fn = Math.random() ? arg : (): (() => arg) => {};
>fn : Symbol(fn, Decl(controlFlowFunctionLikeCircular_4.ts, 2, 7))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
>arg : Symbol(arg, Decl(controlFlowFunctionLikeCircular_4.ts, 0, 14))
>arg : Symbol(arg)
diff --git a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions1.errors.txt b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions1.errors.txt
index cd633d485c421..3db376eabbcc8 100644
--- a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions1.errors.txt
+++ b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions1.errors.txt
@@ -1,4 +1,4 @@
-/foo/tsconfig.json(3,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+/foo/tsconfig.json(3,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
/foo/tsconfig.json(4,9): error TS5023: Unknown compiler option 'noImplicitUseStrict'.
/foo/tsconfig.json(5,9): error TS5023: Unknown compiler option 'keyofStringsOnly'.
/foo/tsconfig.json(6,9): error TS5023: Unknown compiler option 'suppressExcessPropertyErrors'.
@@ -13,7 +13,7 @@
"compilerOptions": {
"target": "ES3",
~~~~~
-!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
"noImplicitUseStrict": true,
~~~~~~~~~~~~~~~~~~~~~
!!! error TS5023: Unknown compiler option 'noImplicitUseStrict'.
diff --git a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions2.errors.txt b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions2.errors.txt
index ed29b1aca57d2..cd5c707b42ffa 100644
--- a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions2.errors.txt
+++ b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions2.errors.txt
@@ -1,4 +1,4 @@
-/foo/tsconfig.json(4,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+/foo/tsconfig.json(4,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
/foo/tsconfig.json(5,9): error TS5023: Unknown compiler option 'noImplicitUseStrict'.
/foo/tsconfig.json(6,9): error TS5023: Unknown compiler option 'keyofStringsOnly'.
/foo/tsconfig.json(7,9): error TS5023: Unknown compiler option 'suppressExcessPropertyErrors'.
@@ -14,7 +14,7 @@
"module": "commonjs",
"target": "ES3",
~~~~~
-!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
"noImplicitUseStrict": true,
~~~~~~~~~~~~~~~~~~~~~
!!! error TS5023: Unknown compiler option 'noImplicitUseStrict'.
diff --git a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions3.errors.txt b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions3.errors.txt
index 532ed1f094773..f2bc8a94edbdd 100644
--- a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions3.errors.txt
+++ b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions3.errors.txt
@@ -1,4 +1,4 @@
-/foo/tsconfig.json(3,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+/foo/tsconfig.json(3,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
/foo/tsconfig.json(4,9): error TS5023: Unknown compiler option 'noImplicitUseStrict'.
/foo/tsconfig.json(5,9): error TS5023: Unknown compiler option 'keyofStringsOnly'.
/foo/tsconfig.json(6,9): error TS5023: Unknown compiler option 'suppressExcessPropertyErrors'.
@@ -13,7 +13,7 @@
"compilerOptions": {
"target": "ES3",
~~~~~
-!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
"noImplicitUseStrict": true,
~~~~~~~~~~~~~~~~~~~~~
!!! error TS5023: Unknown compiler option 'noImplicitUseStrict'.
diff --git a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions4.errors.txt b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions4.errors.txt
index f85e7fec3e462..cfe222ed5a9ab 100644
--- a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions4.errors.txt
+++ b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions4.errors.txt
@@ -1,4 +1,4 @@
-/foo/tsconfig.json(3,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+/foo/tsconfig.json(3,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
/foo/tsconfig.json(4,9): error TS5023: Unknown compiler option 'noImplicitUseStrict'.
/foo/tsconfig.json(5,9): error TS5023: Unknown compiler option 'keyofStringsOnly'.
/foo/tsconfig.json(6,9): error TS5023: Unknown compiler option 'suppressExcessPropertyErrors'.
@@ -13,7 +13,7 @@
"compilerOptions": {
"target": "ES3",
~~~~~
-!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
"noImplicitUseStrict": true,
~~~~~~~~~~~~~~~~~~~~~
!!! error TS5023: Unknown compiler option 'noImplicitUseStrict'.
diff --git a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions5.errors.txt b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions5.errors.txt
index f85e7fec3e462..cfe222ed5a9ab 100644
--- a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions5.errors.txt
+++ b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions5.errors.txt
@@ -1,4 +1,4 @@
-/foo/tsconfig.json(3,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+/foo/tsconfig.json(3,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
/foo/tsconfig.json(4,9): error TS5023: Unknown compiler option 'noImplicitUseStrict'.
/foo/tsconfig.json(5,9): error TS5023: Unknown compiler option 'keyofStringsOnly'.
/foo/tsconfig.json(6,9): error TS5023: Unknown compiler option 'suppressExcessPropertyErrors'.
@@ -13,7 +13,7 @@
"compilerOptions": {
"target": "ES3",
~~~~~
-!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
"noImplicitUseStrict": true,
~~~~~~~~~~~~~~~~~~~~~
!!! error TS5023: Unknown compiler option 'noImplicitUseStrict'.
diff --git a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions6.errors.txt b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions6.errors.txt
index caad86fccfa21..8368fd31b7665 100644
--- a/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions6.errors.txt
+++ b/tsc/testdata/baselines/reference/compiler/deprecatedCompilerOptions6.errors.txt
@@ -1,4 +1,4 @@
-/foo/tsconfig.json(4,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+/foo/tsconfig.json(4,19): error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
/foo/tsconfig.json(5,9): error TS5023: Unknown compiler option 'noImplicitUseStrict'.
/foo/tsconfig.json(6,9): error TS5023: Unknown compiler option 'keyofStringsOnly'.
/foo/tsconfig.json(7,9): error TS5023: Unknown compiler option 'suppressExcessPropertyErrors'.
@@ -14,7 +14,7 @@
"module": "commonjs",
"target": "ES3",
~~~~~
-!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext'.
+!!! error TS6046: Argument for '--target' option must be: 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'es2026', 'esnext'.
"noImplicitUseStrict": true,
~~~~~~~~~~~~~~~~~~~~~
!!! error TS5023: Unknown compiler option 'noImplicitUseStrict'.
diff --git a/tsc/testdata/baselines/reference/compiler/esNextWeakRefs_IterableWeakMap.symbols b/tsc/testdata/baselines/reference/compiler/esNextWeakRefs_IterableWeakMap.symbols
index c1296b6d6cb04..002da3ce336a9 100644
--- a/tsc/testdata/baselines/reference/compiler/esNextWeakRefs_IterableWeakMap.symbols
+++ b/tsc/testdata/baselines/reference/compiler/esNextWeakRefs_IterableWeakMap.symbols
@@ -30,7 +30,7 @@ export class IterableWeakMap implements WeakMap {
>IterableWeakMap : Symbol(IterableWeakMap, Decl(esNextWeakRefs_IterableWeakMap.ts, 6, 2))
>K : Symbol(K, Decl(esNextWeakRefs_IterableWeakMap.ts, 9, 29))
>V : Symbol(V, Decl(esNextWeakRefs_IterableWeakMap.ts, 9, 46))
->WeakMap : Symbol(WeakMap, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>WeakMap : Symbol(WeakMap, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
>K : Symbol(K, Decl(esNextWeakRefs_IterableWeakMap.ts, 9, 29))
>V : Symbol(V, Decl(esNextWeakRefs_IterableWeakMap.ts, 9, 46))
@@ -42,7 +42,7 @@ export class IterableWeakMap implements WeakMap {
#weakMap = new WeakMap; value: V }>();
>#weakMap : Symbol(IterableWeakMap.#weakMap, Decl(esNextWeakRefs_IterableWeakMap.ts, 10, 61))
->WeakMap : Symbol(WeakMap, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>WeakMap : Symbol(WeakMap, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
>K : Symbol(K, Decl(esNextWeakRefs_IterableWeakMap.ts, 9, 29))
>ref : Symbol(ref, Decl(esNextWeakRefs_IterableWeakMap.ts, 12, 31))
>WeakRef : Symbol(WeakRef, Decl(lib.es2021.weakref.d.ts, --, --), Decl(lib.es2021.weakref.d.ts, --, --))
diff --git a/tsc/testdata/baselines/reference/compiler/freshObjectLiteralSubtype.symbols b/tsc/testdata/baselines/reference/compiler/freshObjectLiteralSubtype.symbols
index 38a48f00202b0..a035470a4ac1d 100644
--- a/tsc/testdata/baselines/reference/compiler/freshObjectLiteralSubtype.symbols
+++ b/tsc/testdata/baselines/reference/compiler/freshObjectLiteralSubtype.symbols
@@ -29,7 +29,7 @@ function validate() {
if(Math.random() > 0.5) {
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
return utilValidate();
diff --git a/tsc/testdata/baselines/reference/compiler/importAttributeMostSpecificType.symbols b/tsc/testdata/baselines/reference/compiler/importAttributeMostSpecificType.symbols
index 587e746ba36d6..321deeb41d216 100644
--- a/tsc/testdata/baselines/reference/compiler/importAttributeMostSpecificType.symbols
+++ b/tsc/testdata/baselines/reference/compiler/importAttributeMostSpecificType.symbols
@@ -32,7 +32,7 @@ declare module "*.sqlite" with { type: "sqlite", embed: "true" } {
contents: Uint8Array;
>contents : Symbol(contents, Decl(bun-sqlite.d.ts, 10, 28))
->Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 3 more)
+>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
};
export default database;
diff --git a/tsc/testdata/baselines/reference/compiler/importAttributeType2.symbols b/tsc/testdata/baselines/reference/compiler/importAttributeType2.symbols
index fac17501d9a7c..2d0607bc25cc9 100644
--- a/tsc/testdata/baselines/reference/compiler/importAttributeType2.symbols
+++ b/tsc/testdata/baselines/reference/compiler/importAttributeType2.symbols
@@ -33,7 +33,7 @@ declare module "*.sqlite" with { type: "sqlite", embed: "true" } {
contents: Uint8Array;
>contents : Symbol(contents, Decl(bun-sqlite.d.ts, 10, 28))
->Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 3 more)
+>Uint8Array : Symbol(Uint8Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --) ... and 4 more)
};
export default database;
diff --git a/tsc/testdata/baselines/reference/compiler/inferenceOptionalPropertiesToIndexSignatures.symbols b/tsc/testdata/baselines/reference/compiler/inferenceOptionalPropertiesToIndexSignatures.symbols
index 5a583884534b6..967169c84e905 100644
--- a/tsc/testdata/baselines/reference/compiler/inferenceOptionalPropertiesToIndexSignatures.symbols
+++ b/tsc/testdata/baselines/reference/compiler/inferenceOptionalPropertiesToIndexSignatures.symbols
@@ -54,7 +54,7 @@ let a4 = foo(x4); // string | number
const param2 = Math.random() < 0.5 ? 'value2' : null;
>param2 : Symbol(param2, Decl(inferenceOptionalPropertiesToIndexSignatures.ts, 14, 5))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
const obj = {
diff --git a/tsc/testdata/baselines/reference/compiler/isolatedDeclarationErrorsExpressions.symbols b/tsc/testdata/baselines/reference/compiler/isolatedDeclarationErrorsExpressions.symbols
index 4710500efbc99..fd2cd30777767 100644
--- a/tsc/testdata/baselines/reference/compiler/isolatedDeclarationErrorsExpressions.symbols
+++ b/tsc/testdata/baselines/reference/compiler/isolatedDeclarationErrorsExpressions.symbols
@@ -13,7 +13,7 @@ export const numberConstBad1 = 1 + 1;
export const numberConstBad2 = Math.random();
>numberConstBad2 : Symbol(numberConstBad2, Decl(isolatedDeclarationErrorsExpressions.ts, 3, 12))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
export const numberConstBad3 = numberConst;
@@ -65,7 +65,7 @@ export let numberLetBad1 = 1 + 1;
export let numberLetBad2 = Math.random();
>numberLetBad2 : Symbol(numberLetBad2, Decl(isolatedDeclarationErrorsExpressions.ts, 23, 10))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
export let numberLetBad3 = numberLet;
@@ -158,7 +158,7 @@ export class Exported {
public numberLetBad2 = Math.random();
>numberLetBad2 : Symbol(Exported.numberLetBad2, Decl(isolatedDeclarationErrorsExpressions.ts, 58, 33))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
public numberLetBad3 = numberLet;
@@ -207,7 +207,7 @@ export class Exported {
readonly numberConstBad2 = Math.random();
>numberConstBad2 : Symbol(Exported.numberConstBad2, Decl(isolatedDeclarationErrorsExpressions.ts, 77, 37))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
readonly numberConstBad3 = numberConst;
@@ -288,7 +288,7 @@ export function numberParamBad2(p = Math.random()): void { }
>numberParamBad2 : Symbol(numberParamBad2, Decl(isolatedDeclarationErrorsExpressions.ts, 108, 52))
>p : Symbol(p, Decl(isolatedDeclarationErrorsExpressions.ts, 109, 32))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
export function numberParamBad3(p = numberParam): void { }
diff --git a/tsc/testdata/baselines/reference/compiler/isolatedDeclarationErrorsObjects.symbols b/tsc/testdata/baselines/reference/compiler/isolatedDeclarationErrorsObjects.symbols
index 7064d3955c5ad..49b53968a7dfe 100644
--- a/tsc/testdata/baselines/reference/compiler/isolatedDeclarationErrorsObjects.symbols
+++ b/tsc/testdata/baselines/reference/compiler/isolatedDeclarationErrorsObjects.symbols
@@ -17,7 +17,7 @@ export let oBad = {
a: Math.random(),
>a : Symbol(a, Decl(isolatedDeclarationErrorsObjects.ts, 5, 19))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
}
export const V = 1;
@@ -32,7 +32,7 @@ export let oBad2 = {
b: Math.random(),
>b : Symbol(b, Decl(isolatedDeclarationErrorsObjects.ts, 10, 8))
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
+>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --) ... and 1 more)
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
},
diff --git a/tsc/testdata/baselines/reference/compiler/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols b/tsc/testdata/baselines/reference/compiler/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols
index 2b56a72d6f515..13fc3e9728d6a 100644
--- a/tsc/testdata/baselines/reference/compiler/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols
+++ b/tsc/testdata/baselines/reference/compiler/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols
@@ -3,7 +3,7 @@
=== iterableTReturnTNext.ts ===
declare const map: Map;
>map : Symbol(map, Decl(iterableTReturnTNext.ts, 0, 13))
->Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
declare const set: Set;
>set : Symbol(set, Decl(iterableTReturnTNext.ts, 1, 13))
@@ -70,7 +70,7 @@ const r3: number | undefined = set.values().next().value;
// based on: https://github.com/microsoft/TypeScript/blob/15f67e0b482faf9f6a3ab9965f3c11196bf3e99b/src/harness/compilerImpl.ts#L77
class MyMap implements Map {
>MyMap : Symbol(MyMap, Decl(iterableTReturnTNext.ts, 21, 57))
->Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
declare private _keys: string[];
>_keys : Symbol(MyMap._keys, Decl(iterableTReturnTNext.ts, 24, 44))
@@ -100,7 +100,7 @@ class MyMap implements Map {
>value : Symbol(value, Decl(iterableTReturnTNext.ts, 32, 25))
>key : Symbol(key, Decl(iterableTReturnTNext.ts, 32, 39))
>map : Symbol(map, Decl(iterableTReturnTNext.ts, 32, 52))
->Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
>thisArg : Symbol(thisArg, Decl(iterableTReturnTNext.ts, 32, 87))
get(key: string): number | undefined { return undefined; }
diff --git a/tsc/testdata/baselines/reference/compiler/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols b/tsc/testdata/baselines/reference/compiler/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols
index 2b56a72d6f515..13fc3e9728d6a 100644
--- a/tsc/testdata/baselines/reference/compiler/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols
+++ b/tsc/testdata/baselines/reference/compiler/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols
@@ -3,7 +3,7 @@
=== iterableTReturnTNext.ts ===
declare const map: Map;
>map : Symbol(map, Decl(iterableTReturnTNext.ts, 0, 13))
->Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
declare const set: Set;
>set : Symbol(set, Decl(iterableTReturnTNext.ts, 1, 13))
@@ -70,7 +70,7 @@ const r3: number | undefined = set.values().next().value;
// based on: https://github.com/microsoft/TypeScript/blob/15f67e0b482faf9f6a3ab9965f3c11196bf3e99b/src/harness/compilerImpl.ts#L77
class MyMap implements Map {
>MyMap : Symbol(MyMap, Decl(iterableTReturnTNext.ts, 21, 57))
->Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
declare private _keys: string[];
>_keys : Symbol(MyMap._keys, Decl(iterableTReturnTNext.ts, 24, 44))
@@ -100,7 +100,7 @@ class MyMap implements Map {
>value : Symbol(value, Decl(iterableTReturnTNext.ts, 32, 25))
>key : Symbol(key, Decl(iterableTReturnTNext.ts, 32, 39))
>map : Symbol(map, Decl(iterableTReturnTNext.ts, 32, 52))
->Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
>thisArg : Symbol(thisArg, Decl(iterableTReturnTNext.ts, 32, 87))
get(key: string): number | undefined { return undefined; }
diff --git a/tsc/testdata/baselines/reference/compiler/libReplacement(libreplacement=true).trace.json b/tsc/testdata/baselines/reference/compiler/libReplacement(libreplacement=true).trace.json
index 28065b7104c94..6b7f31567419a 100644
--- a/tsc/testdata/baselines/reference/compiler/libReplacement(libreplacement=true).trace.json
+++ b/tsc/testdata/baselines/reference/compiler/libReplacement(libreplacement=true).trace.json
@@ -973,45 +973,123 @@ Searching all ancestor node_modules directories for fallback extensions: JavaScr
Directory '/.src/node_modules' does not exist, skipping all lookups in it.
Directory '/node_modules' does not exist, skipping all lookups in it.
======== Module name '@typescript/lib-es2025/regexp' was not resolved. ========
-======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========
+======== Resolving module '@typescript/lib-es2026/array' from '/.src/__lib_node_modules_lookup_lib.es2026.array.d.ts__.ts'. ========
Module resolution kind is not specified, using 'Bundler'.
Resolving in CJS mode with conditions 'require', 'types'.
File '/.src/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
-Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
+Loading module '@typescript/lib-es2026/array' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
Directory '/.src/node_modules' does not exist, skipping all lookups in it.
Directory '/node_modules' does not exist, skipping all lookups in it.
Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.
Directory '/.src/node_modules' does not exist, skipping all lookups in it.
Directory '/node_modules' does not exist, skipping all lookups in it.
-======== Module name '@typescript/lib-es5' was not resolved. ========
-======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========
+======== Module name '@typescript/lib-es2026/array' was not resolved. ========
+======== Resolving module '@typescript/lib-es2026/collection' from '/.src/__lib_node_modules_lookup_lib.es2026.collection.d.ts__.ts'. ========
+Module resolution kind is not specified, using 'Bundler'.
+Resolving in CJS mode with conditions 'require', 'types'.
+File '/.src/package.json' does not exist according to earlier cached lookups.
+File '/package.json' does not exist according to earlier cached lookups.
+Loading module '@typescript/lib-es2026/collection' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
+Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+======== Module name '@typescript/lib-es2026/collection' was not resolved. ========
+======== Resolving module '@typescript/lib-es2026' from '/.src/__lib_node_modules_lookup_lib.es2026.d.ts__.ts'. ========
+Module resolution kind is not specified, using 'Bundler'.
+Resolving in CJS mode with conditions 'require', 'types'.
+File '/.src/package.json' does not exist according to earlier cached lookups.
+File '/package.json' does not exist according to earlier cached lookups.
+Loading module '@typescript/lib-es2026' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
+Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+======== Module name '@typescript/lib-es2026' was not resolved. ========
+======== Resolving module '@typescript/lib-es2026/error' from '/.src/__lib_node_modules_lookup_lib.es2026.error.d.ts__.ts'. ========
+Module resolution kind is not specified, using 'Bundler'.
+Resolving in CJS mode with conditions 'require', 'types'.
+File '/.src/package.json' does not exist according to earlier cached lookups.
+File '/package.json' does not exist according to earlier cached lookups.
+Loading module '@typescript/lib-es2026/error' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
+Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+======== Module name '@typescript/lib-es2026/error' was not resolved. ========
+======== Resolving module '@typescript/lib-es2026/iterator' from '/.src/__lib_node_modules_lookup_lib.es2026.iterator.d.ts__.ts'. ========
+Module resolution kind is not specified, using 'Bundler'.
+Resolving in CJS mode with conditions 'require', 'types'.
+File '/.src/package.json' does not exist according to earlier cached lookups.
+File '/package.json' does not exist according to earlier cached lookups.
+Loading module '@typescript/lib-es2026/iterator' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
+Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+======== Module name '@typescript/lib-es2026/iterator' was not resolved. ========
+======== Resolving module '@typescript/lib-es2026/json' from '/.src/__lib_node_modules_lookup_lib.es2026.json.d.ts__.ts'. ========
Module resolution kind is not specified, using 'Bundler'.
Resolving in CJS mode with conditions 'require', 'types'.
File '/.src/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
-Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
+Loading module '@typescript/lib-es2026/json' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
Directory '/.src/node_modules' does not exist, skipping all lookups in it.
Directory '/node_modules' does not exist, skipping all lookups in it.
Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.
Directory '/.src/node_modules' does not exist, skipping all lookups in it.
Directory '/node_modules' does not exist, skipping all lookups in it.
-======== Module name '@typescript/lib-esnext/array' was not resolved. ========
-======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========
+======== Module name '@typescript/lib-es2026/json' was not resolved. ========
+======== Resolving module '@typescript/lib-es2026/math' from '/.src/__lib_node_modules_lookup_lib.es2026.math.d.ts__.ts'. ========
Module resolution kind is not specified, using 'Bundler'.
Resolving in CJS mode with conditions 'require', 'types'.
File '/.src/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
-Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
+Loading module '@typescript/lib-es2026/math' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
Directory '/.src/node_modules' does not exist, skipping all lookups in it.
Directory '/node_modules' does not exist, skipping all lookups in it.
Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.
Directory '/.src/node_modules' does not exist, skipping all lookups in it.
Directory '/node_modules' does not exist, skipping all lookups in it.
-======== Module name '@typescript/lib-esnext/collection' was not resolved. ========
+======== Module name '@typescript/lib-es2026/math' was not resolved. ========
+======== Resolving module '@typescript/lib-es2026/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2026.typedarrays.d.ts__.ts'. ========
+Module resolution kind is not specified, using 'Bundler'.
+Resolving in CJS mode with conditions 'require', 'types'.
+File '/.src/package.json' does not exist according to earlier cached lookups.
+File '/package.json' does not exist according to earlier cached lookups.
+Loading module '@typescript/lib-es2026/typedarrays' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
+Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+======== Module name '@typescript/lib-es2026/typedarrays' was not resolved. ========
+======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========
+Module resolution kind is not specified, using 'Bundler'.
+Resolving in CJS mode with conditions 'require', 'types'.
+File '/.src/package.json' does not exist according to earlier cached lookups.
+File '/package.json' does not exist according to earlier cached lookups.
+Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
+Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.
+Directory '/.src/node_modules' does not exist, skipping all lookups in it.
+Directory '/node_modules' does not exist, skipping all lookups in it.
+======== Module name '@typescript/lib-es5' was not resolved. ========
======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========
Module resolution kind is not specified, using 'Bundler'.
Resolving in CJS mode with conditions 'require', 'types'.
@@ -1064,19 +1142,6 @@ Searching all ancestor node_modules directories for fallback extensions: JavaScr
Directory '/.src/node_modules' does not exist, skipping all lookups in it.
Directory '/node_modules' does not exist, skipping all lookups in it.
======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========
-======== Resolving module '@typescript/lib-esnext/error' from '/.src/__lib_node_modules_lookup_lib.esnext.error.d.ts__.ts'. ========
-Module resolution kind is not specified, using 'Bundler'.
-Resolving in CJS mode with conditions 'require', 'types'.
-File '/.src/package.json' does not exist according to earlier cached lookups.
-File '/package.json' does not exist according to earlier cached lookups.
-Loading module '@typescript/lib-esnext/error' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
-Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
-Directory '/.src/node_modules' does not exist, skipping all lookups in it.
-Directory '/node_modules' does not exist, skipping all lookups in it.
-Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.
-Directory '/.src/node_modules' does not exist, skipping all lookups in it.
-Directory '/node_modules' does not exist, skipping all lookups in it.
-======== Module name '@typescript/lib-esnext/error' was not resolved. ========
======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========
Module resolution kind is not specified, using 'Bundler'.
Resolving in CJS mode with conditions 'require', 'types'.
@@ -1116,16 +1181,3 @@ Searching all ancestor node_modules directories for fallback extensions: JavaScr
Directory '/.src/node_modules' does not exist, skipping all lookups in it.
Directory '/node_modules' does not exist, skipping all lookups in it.
======== Module name '@typescript/lib-esnext/temporal' was not resolved. ========
-======== Resolving module '@typescript/lib-esnext/typedarrays' from '/.src/__lib_node_modules_lookup_lib.esnext.typedarrays.d.ts__.ts'. ========
-Module resolution kind is not specified, using 'Bundler'.
-Resolving in CJS mode with conditions 'require', 'types'.
-File '/.src/package.json' does not exist according to earlier cached lookups.
-File '/package.json' does not exist according to earlier cached lookups.
-Loading module '@typescript/lib-esnext/typedarrays' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.
-Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
-Directory '/.src/node_modules' does not exist, skipping all lookups in it.
-Directory '/node_modules' does not exist, skipping all lookups in it.
-Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.
-Directory '/.src/node_modules' does not exist, skipping all lookups in it.
-Directory '/node_modules' does not exist, skipping all lookups in it.
-======== Module name '@typescript/lib-esnext/typedarrays' was not resolved. ========
diff --git a/tsc/testdata/baselines/reference/compiler/mapGroupBy.symbols b/tsc/testdata/baselines/reference/compiler/mapGroupBy.symbols
index d0485614208b8..b545e9acf45bb 100644
--- a/tsc/testdata/baselines/reference/compiler/mapGroupBy.symbols
+++ b/tsc/testdata/baselines/reference/compiler/mapGroupBy.symbols
@@ -4,7 +4,7 @@
const basic = Map.groupBy([0, 2, 8], x => x < 5 ? 'small' : 'large');
>basic : Symbol(basic, Decl(mapGroupBy.ts, 0, 5))
>Map.groupBy : Symbol(MapConstructor.groupBy, Decl(lib.es2024.collection.d.ts, --, --))
->Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
>groupBy : Symbol(MapConstructor.groupBy, Decl(lib.es2024.collection.d.ts, --, --))
>x : Symbol(x, Decl(mapGroupBy.ts, 0, 36))
>x : Symbol(x, Decl(mapGroupBy.ts, 0, 36))
@@ -12,7 +12,7 @@ const basic = Map.groupBy([0, 2, 8], x => x < 5 ? 'small' : 'large');
const chars = Map.groupBy('a string', c => c);
>chars : Symbol(chars, Decl(mapGroupBy.ts, 2, 5))
>Map.groupBy : Symbol(MapConstructor.groupBy, Decl(lib.es2024.collection.d.ts, --, --))
->Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
>groupBy : Symbol(MapConstructor.groupBy, Decl(lib.es2024.collection.d.ts, --, --))
>c : Symbol(c, Decl(mapGroupBy.ts, 2, 37))
>c : Symbol(c, Decl(mapGroupBy.ts, 2, 37))
@@ -31,7 +31,7 @@ const employees: Set = new Set();
const byRole = Map.groupBy(employees, x => x.role);
>byRole : Symbol(byRole, Decl(mapGroupBy.ts, 6, 5))
>Map.groupBy : Symbol(MapConstructor.groupBy, Decl(lib.es2024.collection.d.ts, --, --))
->Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
>groupBy : Symbol(MapConstructor.groupBy, Decl(lib.es2024.collection.d.ts, --, --))
>employees : Symbol(employees, Decl(mapGroupBy.ts, 5, 5))
>x : Symbol(x, Decl(mapGroupBy.ts, 6, 37))
@@ -42,7 +42,7 @@ const byRole = Map.groupBy(employees, x => x.role);
const byNonKey = Map.groupBy(employees, x => x);
>byNonKey : Symbol(byNonKey, Decl(mapGroupBy.ts, 8, 5))
>Map.groupBy : Symbol(MapConstructor.groupBy, Decl(lib.es2024.collection.d.ts, --, --))
->Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
>groupBy : Symbol(MapConstructor.groupBy, Decl(lib.es2024.collection.d.ts, --, --))
>employees : Symbol(employees, Decl(mapGroupBy.ts, 5, 5))
>x : Symbol(x, Decl(mapGroupBy.ts, 8, 39))
diff --git a/tsc/testdata/baselines/reference/compiler/mapUpsert.errors.txt b/tsc/testdata/baselines/reference/compiler/mapUpsert.errors.txt
index 7c7abaffd3521..eddbcd2a75b0a 100644
--- a/tsc/testdata/baselines/reference/compiler/mapUpsert.errors.txt
+++ b/tsc/testdata/baselines/reference/compiler/mapUpsert.errors.txt
@@ -31,7 +31,7 @@ mapUpsert.ts(29,6): error TS2339: Property 'getOrInsertComputed' does not exist
map.getOrInsert("key");
~~~~~~~~~~~
!!! error TS2554: Expected 2 arguments, but got 1.
-!!! related TS6210 lib.esnext.collection.d.ts:--:--: An argument for 'defaultValue' was not provided.
+!!! related TS6210 lib.es2026.collection.d.ts:--:--: An argument for 'defaultValue' was not provided.
map.getOrInsert("key", "value");
~~~~~~~
!!! error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
@@ -42,18 +42,18 @@ mapUpsert.ts(29,6): error TS2339: Property 'getOrInsertComputed' does not exist
map.getOrInsertComputed("key");
~~~~~~~~~~~~~~~~~~~
!!! error TS2554: Expected 2 arguments, but got 1.
-!!! related TS6210 lib.esnext.collection.d.ts:--:--: An argument for 'callback' was not provided.
+!!! related TS6210 lib.es2026.collection.d.ts:--:--: An argument for 'callback' was not provided.
map.getOrInsertComputed("key", 123);
~~~
!!! error TS2345: Argument of type 'number' is not assignable to parameter of type '(key: string) => number'.
map.getOrInsertComputed("key", () => "value");
~~~~~~~
!!! error TS2322: Type 'string' is not assignable to type 'number'.
-!!! related TS6502 lib.esnext.collection.d.ts:--:--: The expected type comes from the return type of this signature.
+!!! related TS6502 lib.es2026.collection.d.ts:--:--: The expected type comes from the return type of this signature.
mapW.getOrInsert({});
~~~~~~~~~~~
!!! error TS2554: Expected 2 arguments, but got 1.
-!!! related TS6210 lib.esnext.collection.d.ts:--:--: An argument for 'defaultValue' was not provided.
+!!! related TS6210 lib.es2026.collection.d.ts:--:--: An argument for 'defaultValue' was not provided.
mapW.getOrInsert({}, "value");
~~~~~~~
!!! error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
@@ -64,14 +64,14 @@ mapUpsert.ts(29,6): error TS2339: Property 'getOrInsertComputed' does not exist
mapW.getOrInsertComputed({});
~~~~~~~~~~~~~~~~~~~
!!! error TS2554: Expected 2 arguments, but got 1.
-!!! related TS6210 lib.esnext.collection.d.ts:--:--: An argument for 'callback' was not provided.
+!!! related TS6210 lib.es2026.collection.d.ts:--:--: An argument for 'callback' was not provided.
mapW.getOrInsertComputed({}, 123);
~~~
!!! error TS2345: Argument of type 'number' is not assignable to parameter of type '(key: object) => number'.
mapW.getOrInsertComputed({}, () => "value");
~~~~~~~
!!! error TS2322: Type 'string' is not assignable to type 'number'.
-!!! related TS6502 lib.esnext.collection.d.ts:--:--: The expected type comes from the return type of this signature.
+!!! related TS6502 lib.es2026.collection.d.ts:--:--: The expected type comes from the return type of this signature.
// Not present on readonly interface
mapR.getOrInsert("key", 123);
diff --git a/tsc/testdata/baselines/reference/compiler/mapUpsert.symbols b/tsc/testdata/baselines/reference/compiler/mapUpsert.symbols
index 59e67ea427030..339ce1df2ee05 100644
--- a/tsc/testdata/baselines/reference/compiler/mapUpsert.symbols
+++ b/tsc/testdata/baselines/reference/compiler/mapUpsert.symbols
@@ -3,7 +3,7 @@
=== mapUpsert.ts ===
declare const map: Map;
>map : Symbol(map, Decl(mapUpsert.ts, 0, 13))
->Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
+>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2026.collection.d.ts, --, --))
declare const mapR: ReadonlyMap;
>mapR : Symbol(mapR, Decl(mapUpsert.ts, 1, 13))
@@ -11,101 +11,101 @@ declare const mapR: ReadonlyMap;
declare const mapW: WeakMap