element-web-Github/tsconfig.json

42 lines
1.4 KiB
JSON
Raw Normal View History

{
2022-12-09 20:28:29 +08:00
"compilerOptions": {
"allowImportingTsExtensions": true,
2022-12-09 20:28:29 +08:00
"experimentalDecorators": false,
"emitDecoratorMetadata": false,
"resolveJsonModule": true,
"esModuleInterop": true,
2024-08-02 00:14:27 +08:00
"useDefineForClassFields": true,
"module": "es2022",
2022-12-09 20:28:29 +08:00
"moduleResolution": "node",
2024-08-02 00:14:27 +08:00
"target": "es2022",
2022-12-09 20:28:29 +08:00
"noUnusedLocals": true,
"sourceMap": false,
"outDir": "./lib",
"declaration": true,
"jsx": "react",
2024-06-26 23:49:29 +08:00
"lib": ["es2022", "dom", "dom.iterable"],
"strict": true
2022-12-09 20:28:29 +08:00
},
"include": [
"./node_modules/matrix-js-sdk/src/@types/*.d.ts",
"./node_modules/matrix-react-sdk/src/@types/react.d.ts",
"./node_modules/matrix-react-sdk/src/@types/diff-dom.d.ts",
"./node_modules/matrix-react-sdk/src/@types/opus-recorder.d.ts",
"./node_modules/matrix-react-sdk/src/@types/png-chunks-extract.d.ts",
"./node_modules/matrix-react-sdk/src/@types/sanitize-html.d.ts",
"./node_modules/matrix-react-sdk/src/@types/matrix-js-sdk.d.ts",
"./node_modules/matrix-react-sdk/src/@types/electron-to-chromium.d.ts",
"./src/**/*.ts",
"./src/**/*.tsx",
"./test/**/*.ts",
"./test/**/*.tsx",
"./scripts/*.ts"
],
"ts-node": {
"files": true,
"moduleTypes": {
"*": "cjs"
}
}
}