2022-05-06 18:32:09 +08:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
2022-05-07 05:44:03 +08:00
|
|
|
"target": "es2016",
|
2022-05-30 17:09:13 +08:00
|
|
|
"module": "es2020",
|
2023-07-01 06:21:18 +08:00
|
|
|
"jsx": "react-jsx",
|
2022-09-15 20:29:55 +08:00
|
|
|
"lib": ["es2020", "dom", "dom.iterable"],
|
2023-06-30 23:43:28 +08:00
|
|
|
|
|
|
|
// From Matrix-JS-SDK
|
|
|
|
"strict": true,
|
|
|
|
"noEmit": true,
|
|
|
|
"noEmitOnError": true,
|
|
|
|
"experimentalDecorators": true,
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"moduleResolution": "node",
|
|
|
|
"declaration": true
|
|
|
|
|
|
|
|
// TODO: Enable the following options later.
|
|
|
|
// "forceConsistentCasingInFileNames": true,
|
|
|
|
// "noFallthroughCasesInSwitch": true,
|
|
|
|
// "noImplicitOverride": true,
|
|
|
|
// "noImplicitReturns": true,
|
|
|
|
// "noPropertyAccessFromIndexSignature": true,
|
|
|
|
// "noUncheckedIndexedAccess": true,
|
|
|
|
// "noUnusedParameters": true,
|
2022-05-06 18:32:09 +08:00
|
|
|
},
|
2022-10-26 16:47:44 +08:00
|
|
|
"include": [
|
2023-07-06 18:47:37 +08:00
|
|
|
"./node_modules/matrix-js-sdk/src/@types/*.d.ts",
|
2022-12-10 03:34:25 +08:00
|
|
|
"./src/**/*.ts",
|
2022-10-26 16:47:44 +08:00
|
|
|
"./src/**/*.tsx",
|
|
|
|
"./test/**/*.ts",
|
|
|
|
"./test/**/*.tsx"
|
2023-07-06 18:47:37 +08:00
|
|
|
]
|
2022-05-06 18:32:09 +08:00
|
|
|
}
|