Talon/tsconfig.json
ThetaDev fc939c7f9b
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: revert svelte-preprocess update
2023-04-01 18:14:25 +02:00

42 lines
1.2 KiB
JSON

{
"compilerOptions": {
"moduleResolution": "node",
"target": "esnext",
"module": "esnext",
/**
* svelte-preprocess cannot figure out whether you have
* a value or a type, so tell TypeScript to enforce using
* `import type` instead of `import` for Types.
*/
"importsNotUsedAsValues": "error",
"isolatedModules": true,
// for TS5 "verbatimModuleSyntax": true,
/**
* To have warnings / errors of the Svelte compiler at the
* correct position, enable source maps by default.
*/
"sourceMap": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
/**
* Typecheck JS in `.svelte` and `.js` files by default.
* Disable checkJs if you'd like to use dynamic types in JS.
* Note that setting allowJs false does not prevent the use
* of JS in `.svelte` files.
*/
"allowJs": true,
"checkJs": true
},
/**
* Use globals.d.ts instead of compilerOptions.types
* to avoid limiting type declarations.
*/
"include": [
"ui/*/globals.d.ts",
"ui/*/src/**/*.ts",
"ui/*/src/**/*.js",
"ui/*/src/**/*.svelte"
]
}