Merge pull request #32096 from backstage/rugvip/es2022

cli: move back to ES2022 in tsconfig
This commit is contained in:
Patrik Oldsberg
2025-12-10 23:40:23 +01:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -2,4 +2,6 @@
'@backstage/cli': patch
---
Switched ECMAScript version to ES2023.
Switched compilation target to ES2022 in order to match the new set of supported Node.js versions, which are 22 and 24.
The TypeScript compilation target has been set to ES2022, because setting it to a higher target will break projects on older TypeScript versions. If you use a newer TypeScript version in your own project, you can bump `compilerOptions.target` to ES2023 or ES2024 in your own `tsconfig.json` file.
+1 -1
View File
@@ -33,7 +33,7 @@
"strictNullChecks": true,
"strictPropertyInitialization": true,
"stripInternal": true,
"target": "ES2023",
"target": "ES2022",
"types": ["node", "jest", "webpack-env"],
"useDefineForClassFields": true
}