From 4efa993b133b7b47e0f4144aaed0eda834699016 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Wed, 2 Nov 2022 17:10:12 -0700 Subject: [PATCH] Bump targets for test/automation and test/integration (#165298) Also enables strict mode for test/integration since it only had strict null checks previously --- test/automation/tsconfig.json | 4 ++-- test/integration/browser/tsconfig.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/automation/tsconfig.json b/test/automation/tsconfig.json index a923ad396f9..e5cfdfc140e 100644 --- a/test/automation/tsconfig.json +++ b/test/automation/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "module": "commonjs", - "target": "es2017", + "target": "es2020", "strict": true, "noUnusedParameters": false, "noUnusedLocals": true, @@ -9,7 +9,7 @@ "sourceMap": true, "declaration": true, "lib": [ - "es2016", + "es2020", "dom" ] }, diff --git a/test/integration/browser/tsconfig.json b/test/integration/browser/tsconfig.json index 6f0b40e93e5..262769765a6 100644 --- a/test/integration/browser/tsconfig.json +++ b/test/integration/browser/tsconfig.json @@ -4,14 +4,14 @@ "noImplicitAny": false, "removeComments": false, "preserveConstEnums": true, - "target": "es2017", - "strictNullChecks": true, + "target": "es2020", + "strict": true, "noUnusedParameters": false, "noUnusedLocals": true, "outDir": "out", "sourceMap": true, "lib": [ - "es2016", + "es2020", "dom" ] },