mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08: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>
18 lines
504 B
JSON
18 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"
|
|
]
|
|
}
|