2022-05-06 11:32:09 +01:00
|
|
|
{
|
|
|
|
|
"compilerOptions": {
|
2024-07-24 11:07:46 -04:00
|
|
|
"target": "es2022",
|
2025-02-17 19:19:31 +07:00
|
|
|
"module": "es2022",
|
2023-06-30 18:21:18 -04:00
|
|
|
"jsx": "react-jsx",
|
2025-05-19 18:04:07 +02:00
|
|
|
"lib": ["es2024", "dom", "dom.iterable"],
|
2023-06-30 16:43:28 +01:00
|
|
|
|
|
|
|
|
// From Matrix-JS-SDK
|
|
|
|
|
"strict": true,
|
|
|
|
|
"noEmit": true,
|
|
|
|
|
"noEmitOnError": true,
|
2025-03-11 19:48:02 +01:00
|
|
|
"experimentalDecorators": false,
|
2023-06-30 16:43:28 +01:00
|
|
|
"esModuleInterop": true,
|
|
|
|
|
"noUnusedLocals": true,
|
2024-02-15 23:22:15 -05:00
|
|
|
"moduleResolution": "bundler",
|
2023-09-22 18:05:13 -04:00
|
|
|
"declaration": true,
|
2023-11-17 12:26:25 +00:00
|
|
|
"resolveJsonModule": true,
|
2024-07-24 11:07:46 -04:00
|
|
|
// Workaround for https://github.com/microsoft/TypeScript/issues/55132
|
|
|
|
|
"useDefineForClassFields": false,
|
2024-09-03 16:18:34 -04:00
|
|
|
"allowImportingTsExtensions": true,
|
2024-02-15 23:22:15 -05:00
|
|
|
"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
|
2025-05-28 17:34:33 -04:00
|
|
|
"livekit-client/dist/src/room/types": [
|
|
|
|
|
"./node_modules/livekit-client/dist/src/room/types.d.ts"
|
|
|
|
|
],
|
2024-02-15 23:22:15 -05:00
|
|
|
"livekit-client/dist/src/room/Room": [
|
|
|
|
|
"./node_modules/livekit-client/dist/src/room/Room.d.ts"
|
|
|
|
|
],
|
2024-05-27 08:54:50 +00:00
|
|
|
"livekit-client/dist/src/room/track/TrackPublication": [
|
|
|
|
|
"./node_modules/livekit-client/dist/src/room/track/TrackPublication.d.ts"
|
|
|
|
|
],
|
2024-02-15 23:22:15 -05:00
|
|
|
"livekit-client/dist/src/room/participant/Participant": [
|
|
|
|
|
"./node_modules/livekit-client/dist/src/room/participant/Participant.d.ts"
|
2024-03-20 13:04:01 +00:00
|
|
|
],
|
|
|
|
|
"livekit-client/dist/src/proto/livekit_models_pb": [
|
2024-03-21 08:57:17 +00:00
|
|
|
"./node_modules/@livekit/protocol/src/gen/livekit_models_pb.d.ts"
|
2024-02-15 23:22:15 -05:00
|
|
|
]
|
|
|
|
|
},
|
2023-06-30 16:43:28 +01:00
|
|
|
|
|
|
|
|
// TODO: Enable the following options later.
|
|
|
|
|
// "forceConsistentCasingInFileNames": true,
|
|
|
|
|
// "noFallthroughCasesInSwitch": true,
|
|
|
|
|
// "noImplicitOverride": true,
|
|
|
|
|
// "noImplicitReturns": true,
|
|
|
|
|
// "noPropertyAccessFromIndexSignature": true,
|
|
|
|
|
// "noUncheckedIndexedAccess": true,
|
|
|
|
|
// "noUnusedParameters": true,
|
2023-09-22 18:05:13 -04:00
|
|
|
|
2024-02-09 11:04:01 -05:00
|
|
|
"plugins": [{ "name": "typescript-eslint-language-service" }]
|
2022-05-06 11:32:09 +01:00
|
|
|
},
|
2025-03-27 14:47:01 -04:00
|
|
|
"include": ["./src/**/*.ts", "./src/**/*.tsx", "./playwright/**/*.ts"]
|
2022-05-06 11:32:09 +01:00
|
|
|
}
|