Files
matrix-js-sdk/tsconfig.json
T
David Baker 18ea8befdc Specify typeroot (#4892)
This prevents tsc from picking up random types from parent directories
such as in situations like an element-web layered build, and generally
seems like good hygiene as we don't want to pick up random types from
whatever directory we happen to be checked out into.
2025-07-01 11:31:28 +00:00

19 lines
506 B
JSON

{
"compilerOptions": {
"target": "es2022",
"experimentalDecorators": false,
"esModuleInterop": true,
"module": "commonjs",
"moduleResolution": "node",
"noUnusedLocals": true,
"noEmit": true,
"declaration": true,
"strict": true,
"allowImportingTsExtensions": true,
"lib": ["es2024"],
"baseUrl": ".",
"typeRoots": ["./node_modules/@types"]
},
"include": ["./src/**/*.ts", "./spec/**/*.ts"]
}