From aa5d0eb0e7bc1bf899e725768752d7d5aa79d0a9 Mon Sep 17 00:00:00 2001 From: Markus Olsson Date: Fri, 4 Mar 2022 00:45:39 +0100 Subject: [PATCH] We can have nice things! --- app/src/highlighter/tsconfig.json | 4 ++-- eslint-rules/tsconfig.json | 2 +- script/tsconfig.json | 2 +- tsconfig.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/highlighter/tsconfig.json b/app/src/highlighter/tsconfig.json index 215e054a6d..dc0e648134 100644 --- a/app/src/highlighter/tsconfig.json +++ b/app/src/highlighter/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "module": "esnext", "moduleResolution": "node", - "target": "es2017", + "target": "ES2021", "allowUnreachableCode": false, "allowUnusedLabels": false, "noImplicitReturns": true, @@ -11,7 +11,7 @@ "sourceMap": true, "strict": true, "outDir": "../../../out", - "lib": ["scripthost", "webworker", "es2017"], + "lib": ["scripthost", "webworker", "es2021"], "types": [] }, "compileOnSave": false diff --git a/eslint-rules/tsconfig.json b/eslint-rules/tsconfig.json index 6ef1f24101..bbb0bc6a17 100644 --- a/eslint-rules/tsconfig.json +++ b/eslint-rules/tsconfig.json @@ -3,7 +3,7 @@ "allowJs": true, "checkJs": true, "noEmit": true, - "target": "es2015", + "target": "ES2021", "skipLibCheck": true, "moduleResolution": "node" }, diff --git a/script/tsconfig.json b/script/tsconfig.json index 5122933bb8..e58a5f45a9 100644 --- a/script/tsconfig.json +++ b/script/tsconfig.json @@ -5,7 +5,7 @@ "esModuleInterop": true, "resolveJsonModule": true, "importHelpers": true, - "target": "es2017", + "target": "ES2021", "allowUnreachableCode": false, "allowUnusedLabels": false, "noImplicitReturns": true, diff --git a/tsconfig.json b/tsconfig.json index 67ebac6f52..8e8de48fc1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "module": "esnext", "moduleResolution": "node", - "target": "es2017", + "target": "ES2021", "esModuleInterop": true, "resolveJsonModule": true, "importHelpers": true, @@ -15,7 +15,7 @@ "jsx": "react", "strict": true, "outDir": "./out", - "lib": ["ES2017", "DOM", "DOM.Iterable", "ES2018.Promise", "ES2020.string"], + "lib": ["ES2021", "DOM", "DOM.Iterable"], "useUnknownInCatchVariables": false }, "include": ["app/**/*.ts", "app/**/*.tsx", "app/**/*.d.tsx"],