Skip to content

Commit 1c3cd8a

Browse files
Update target default and add es2025 (SchemaStore#5514)
This commit updates the default value for target to "es5" and adds "es2025" as an allowed value for target. TypeScript documentation for this setting: https://www.typescriptlang.org/tsconfig/#target
1 parent d45d98e commit 1c3cd8a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/schemas/json/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@
608608
"target": {
609609
"description": "Set the JavaScript language version for emitted JavaScript and include compatible library declarations.",
610610
"type": ["string", "null"],
611-
"default": "es3",
611+
"default": "es5",
612612
"anyOf": [
613613
{
614614
"enum": [
@@ -625,11 +625,12 @@
625625
"es2022",
626626
"es2023",
627627
"es2024",
628+
"es2025",
628629
"esnext"
629630
]
630631
},
631632
{
632-
"pattern": "^([Ee][Ss]([356]|(20(1[56789]|2[01234]))|[Nn][Ee][Xx][Tt]))$"
633+
"pattern": "^([Ee][Ss]([356]|(20(1[56789]|2[012345]))|[Nn][Ee][Xx][Tt]))$"
633634
}
634635
],
635636
"markdownDescription": "Set the JavaScript language version for emitted JavaScript and include compatible library declarations.\n\nSee more: https://www.typescriptlang.org/tsconfig#target"

0 commit comments

Comments
 (0)