mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-27 00:48:06 +08:00
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2016",
|
|
"module": "es2020",
|
|
"jsx": "react-jsx",
|
|
"lib": ["es2020", "dom", "dom.iterable"],
|
|
|
|
// From Matrix-JS-SDK
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"noEmitOnError": true,
|
|
"experimentalDecorators": true,
|
|
"esModuleInterop": true,
|
|
"noUnusedLocals": true,
|
|
"moduleResolution": "bundler",
|
|
"declaration": true,
|
|
"resolveJsonModule": true,
|
|
"paths": {
|
|
// These imports within @livekit/components-core and
|
|
// @livekit/components-react are broken under the "bundler" module
|
|
// resolution mode, so we need to resolve them manually
|
|
"livekit-client/dist/src/room/Room": [
|
|
"./node_modules/livekit-client/dist/src/room/Room.d.ts"
|
|
],
|
|
"livekit-client/dist/src/room/participant/Participant": [
|
|
"./node_modules/livekit-client/dist/src/room/participant/Participant.d.ts"
|
|
],
|
|
"livekit-client/dist/src/proto/livekit_models_pb": [
|
|
"./node_modules/livekit-client/dist/src/proto/livekit_models_pb.d.ts"
|
|
]
|
|
},
|
|
|
|
// TODO: Enable the following options later.
|
|
// "forceConsistentCasingInFileNames": true,
|
|
// "noFallthroughCasesInSwitch": true,
|
|
// "noImplicitOverride": true,
|
|
// "noImplicitReturns": true,
|
|
// "noPropertyAccessFromIndexSignature": true,
|
|
// "noUncheckedIndexedAccess": true,
|
|
// "noUnusedParameters": true,
|
|
|
|
"plugins": [{ "name": "typescript-eslint-language-service" }]
|
|
},
|
|
"include": [
|
|
"./node_modules/matrix-js-sdk/src/@types/*.d.ts",
|
|
"./node_modules/vitest/globals.d.ts",
|
|
"./src/**/*.ts",
|
|
"./src/**/*.tsx",
|
|
"./test/**/*.ts",
|
|
"./test/**/*.tsx"
|
|
]
|
|
}
|