mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 18:55:58 +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>
26 lines
715 B
JSON
26 lines
715 B
JSON
{
|
|
"compilerOptions": {
|
|
"experimentalDecorators": false,
|
|
"emitDecoratorMetadata": false,
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"useDefineForClassFields": true,
|
|
"module": "es2022",
|
|
"moduleResolution": "node",
|
|
"target": "es2022",
|
|
"noUnusedLocals": true,
|
|
"sourceMap": false,
|
|
"outDir": "./lib",
|
|
"declaration": true,
|
|
"jsx": "react",
|
|
"lib": ["es2022", "dom", "dom.iterable"],
|
|
"strict": true
|
|
},
|
|
"include": [
|
|
"./node_modules/matrix-js-sdk/src/@types/*.d.ts",
|
|
"./src/**/*.ts",
|
|
"./src/**/*.tsx",
|
|
"./test/**/*.ts",
|
|
"./test/**/*.tsx"
|
|
]
|
|
}
|