cli: move back to ES2022 in tsconfig
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"strictNullChecks": true,
|
||||
"strictPropertyInitialization": true,
|
||||
"stripInternal": true,
|
||||
"target": "ES2023",
|
||||
"target": "ES2022",
|
||||
"types": ["node", "jest", "webpack-env"],
|
||||
"useDefineForClassFields": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user