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"]