From ed15578eedfcbce6ea53a1c7a56d672c73d34ba5 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 28 Apr 2023 08:44:10 +0100 Subject: [PATCH] Enable ES2020 to match matrix-react-sdk (#25223) --- tsconfig.json | 2 +- tsconfig.module_system.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 4b25eb5346..50b20450ea 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ "outDir": "./lib", "declaration": true, "jsx": "react", - "lib": ["es2019", "dom", "dom.iterable"], + "lib": ["es2020", "dom", "dom.iterable"], "alwaysStrict": true, "strictBindCallApply": true, "noImplicitThis": true diff --git a/tsconfig.module_system.json b/tsconfig.module_system.json index e1776404f5..df928f828e 100644 --- a/tsconfig.module_system.json +++ b/tsconfig.module_system.json @@ -4,7 +4,7 @@ "jsx": "preserve", "declaration": false, "outDir": "./lib/module_system", - "lib": ["es2019"], + "lib": ["es2020"], "types": ["node"] }, "include": ["./module_system/**/*.ts"]