mirror of
https://github.com/vector-im/element-call.git
synced 2026-01-18 02:32:27 +00:00
By keeping 'hangup' and 'close' as separate actions, we can allow Element Call widgets to stay on an error screen after the user has been disconnected without the widget completely disappearing from the host's UI. We don't have to request any additional capabilities to use a custom widget action like this one.
56 lines
1.8 KiB
JSON
56 lines
1.8 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2022",
|
|
"module": "es2022",
|
|
"jsx": "react-jsx",
|
|
"lib": ["es2022", "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,
|
|
// Workaround for https://github.com/microsoft/TypeScript/issues/55132
|
|
"useDefineForClassFields": false,
|
|
"allowImportingTsExtensions": 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/track/TrackPublication": [
|
|
"./node_modules/livekit-client/dist/src/room/track/TrackPublication.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/protocol/src/gen/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",
|
|
"./src/**/*.ts",
|
|
"./src/**/*.tsx"
|
|
]
|
|
}
|