From 8aee984b04d9075b868ef0a03ac3e77af7eb965b Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 27 Apr 2023 19:10:51 +0100 Subject: [PATCH] Enable ES2020 to match matrix-react-sdk (#931) --- hak/tsconfig.json | 2 +- scripts/tsconfig.json | 2 +- test/tsconfig.json | 2 +- tsconfig.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hak/tsconfig.json b/hak/tsconfig.json index 5cf06a3..94abce3 100644 --- a/hak/tsconfig.json +++ b/hak/tsconfig.json @@ -5,7 +5,7 @@ "target": "es2016", "sourceMap": false, "strict": true, - "lib": ["es2019"] + "lib": ["es2020"] }, "include": ["../scripts/@types/*.d.ts", "./**/*.ts"], "ts-node": { diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index 96a7b4e..4e547d9 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -7,7 +7,7 @@ "module": "commonjs", "sourceMap": false, "strict": true, - "lib": ["es2019", "dom"] + "lib": ["es2020", "dom"] }, "include": ["../src/@types", "./**/*.ts"], "ts-node": { diff --git a/test/tsconfig.json b/test/tsconfig.json index f032c77..60c773a 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -7,7 +7,7 @@ "module": "commonjs", "sourceMap": false, "strict": true, - "lib": ["es2019", "dom"] + "lib": ["es2020", "dom"] }, "include": ["./**/*.ts"], "ts-node": { diff --git a/tsconfig.json b/tsconfig.json index 008a811..a6e97c9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "rootDir": "./src", "declaration": true, "typeRoots": ["src/@types", "node_modules/@types"], - "lib": ["es2019", "dom"], + "lib": ["es2020", "dom"], "types": ["node"], "strict": true },