diff --git a/apps/desktop/tsconfig.json b/apps/desktop/tsconfig.json index f673cf4a95..581e84b86d 100644 --- a/apps/desktop/tsconfig.json +++ b/apps/desktop/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "target": "ES2022", "lib": ["dom", "dom.iterable", "ES2021"], + "types": [], "allowJs": true, "checkJs": true, "esModuleInterop": true, @@ -14,8 +15,7 @@ "sourceMap": true, "strict": true, "experimentalDecorators": true, - "noFallthroughCasesInSwitch": true, - "types": ["vitest/importMeta", "vitest/jsdom"] + "noFallthroughCasesInSwitch": true }, "include": [ "vitest-setup.js", diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index 0d3abd1ed3..cf11800489 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -2,18 +2,22 @@ "compilerOptions": { "target": "ES2022", "lib": ["dom", "dom.iterable", "ES2021"], + "types": [], "allowJs": true, - "checkJs": false, + "checkJs": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, + "noUncheckedIndexedAccess": true, + "resolveJsonModule": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "sourceMap": true, "strict": true, "experimentalDecorators": true, + "noFallthroughCasesInSwitch": true, "moduleResolution": "bundler", "declaration": true, "declarationMap": true, - "verbatimModuleSyntax": true, "isolatedModules": true, "outDir": "dist", "rootDir": "src" diff --git a/packages/shared/tsconfig.json b/packages/shared/tsconfig.json index 42b3b100a9..a9349623fb 100644 --- a/packages/shared/tsconfig.json +++ b/packages/shared/tsconfig.json @@ -3,20 +3,22 @@ "compilerOptions": { "target": "ES2022", "lib": ["dom", "dom.iterable", "ES2021"], + "types": [], "allowJs": true, - "checkJs": false, + "checkJs": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, + "noUncheckedIndexedAccess": true, "resolveJsonModule": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "sourceMap": true, "strict": true, "experimentalDecorators": true, + "noFallthroughCasesInSwitch": true, "declaration": true, "composite": true, - "declarationMap": true, - "mapRoot": "../../dist", - "noUncheckedIndexedAccess": true + "declarationMap": true }, "include": [ ".svelte-kit/ambient.d.ts", diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json index 8d4c761213..9fbf405e82 100644 --- a/packages/ui/tsconfig.json +++ b/packages/ui/tsconfig.json @@ -3,19 +3,22 @@ "compilerOptions": { "target": "ES2022", "lib": ["dom", "dom.iterable", "ES2021"], + "types": [], "allowJs": true, - "checkJs": false, + "checkJs": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, + "noUncheckedIndexedAccess": true, "resolveJsonModule": true, + "verbatimModuleSyntax": true, "skipLibCheck": true, "sourceMap": true, "strict": true, "experimentalDecorators": true, + "noFallthroughCasesInSwitch": true, "declaration": true, "composite": true, - "declarationMap": true, - "mapRoot": "../../dist" + "declarationMap": true }, "include": [ ".svelte-kit/ambient.d.ts",