mirror of
https://github.com/element-hq/element-web
synced 2024-11-21 16:55:34 +03:00
Enable ES2020 to match matrix-react-sdk (#25223)
This commit is contained in:
parent
f5452fb097
commit
ed15578eed
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue