Enable ES2020 to match matrix-react-sdk (#25223)

pull/25250/head
Michael Telatynski 2023-04-28 08:44:10 +01:00 committed by GitHub
parent f5452fb097
commit ed15578eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
"outDir": "./lib", "outDir": "./lib",
"declaration": true, "declaration": true,
"jsx": "react", "jsx": "react",
"lib": ["es2019", "dom", "dom.iterable"], "lib": ["es2020", "dom", "dom.iterable"],
"alwaysStrict": true, "alwaysStrict": true,
"strictBindCallApply": true, "strictBindCallApply": true,
"noImplicitThis": true "noImplicitThis": true

View File

@ -4,7 +4,7 @@
"jsx": "preserve", "jsx": "preserve",
"declaration": false, "declaration": false,
"outDir": "./lib/module_system", "outDir": "./lib/module_system",
"lib": ["es2019"], "lib": ["es2020"],
"types": ["node"] "types": ["node"]
}, },
"include": ["./module_system/**/*.ts"] "include": ["./module_system/**/*.ts"]