mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
c1d4199b02
* Upgrade target to es2021 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Upgrade to es2022 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix babel config Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix React contexts Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix types Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix React state Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
17 lines
504 B
JSON
17 lines
504 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2022",
|
|
"jsx": "react",
|
|
"lib": ["ESNext", "es2022", "dom", "dom.iterable"],
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"moduleResolution": "node",
|
|
"module": "es2022"
|
|
},
|
|
"include": [
|
|
"**/*.ts",
|
|
"../src/@types/matrix-js-sdk.d.ts",
|
|
"../node_modules/matrix-js-sdk/src/@types/*.d.ts",
|
|
"../node_modules/matrix-js-sdk/node_modules/@matrix-org/olm/index.d.ts"
|
|
]
|
|
}
|