diff --git a/.changeset/fluffy-hotels-wait.md b/.changeset/fluffy-hotels-wait.md new file mode 100644 index 0000000000..a578f2fb4a --- /dev/null +++ b/.changeset/fluffy-hotels-wait.md @@ -0,0 +1,5 @@ +--- +'@backstage/cli': patch +--- + +Both the target and types library have been bumped from ES2021 to ES2022 in `@backstage/cli/config/tsconfig.json`. diff --git a/packages/cli/config/tsconfig.json b/packages/cli/config/tsconfig.json index 5486f1900f..aa25e59451 100644 --- a/packages/cli/config/tsconfig.json +++ b/packages/cli/config/tsconfig.json @@ -11,7 +11,7 @@ "incremental": true, "isolatedModules": true, "jsx": "react", - "lib": ["DOM", "DOM.Iterable", "ScriptHost", "ES2021"], + "lib": ["DOM", "DOM.Iterable", "ScriptHost", "ES2022"], "module": "ESNext", "moduleResolution": "node", "noEmit": false, @@ -32,7 +32,7 @@ "strictNullChecks": true, "strictPropertyInitialization": true, "stripInternal": true, - "target": "ES2021", + "target": "ES2022", "types": ["node", "jest", "webpack-env"], "useDefineForClassFields": true }