mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00

* Move `web` tsconfig to let TS language server work * Assign typing to images This removes type errors on imported images.
24 lines
575 B
JSON
24 lines
575 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "es2019",
|
|
"moduleResolution": "node",
|
|
"jsx": "preserve",
|
|
"jsxFactory": "h",
|
|
/* noEmit - Snowpack builds (emits) files, not tsc. */
|
|
"noEmit": true,
|
|
/* Additional Options */
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"esModuleInterop": true,
|
|
"typeRoots": [
|
|
"./typings"
|
|
]
|
|
}
|
|
}
|