diff options
| author | gammelalf <gammelalf@hopfen.space> | 2023-01-25 21:22:38 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-02-24 12:47:40 +0100 |
| commit | c0c4bea988208f75fa4534b807a026de3f619eaf (patch) | |
| tree | 5e46b190f877ce4af8a6134c9f33a05c120a94c3 /web/tsconfig.json | |
| parent | 933e3b7e5a3a18a8c3f315f6c0d8c2375ceecb3c (diff) | |
| download | WRMS-c0c4bea988208f75fa4534b807a026de3f619eaf.tar.gz WRMS-c0c4bea988208f75fa4534b807a026de3f619eaf.zip | |
Switched from SvelteKit to Svelte
Diffstat (limited to 'web/tsconfig.json')
| -rw-r--r-- | web/tsconfig.json | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/web/tsconfig.json b/web/tsconfig.json index 6ae0c8c..3941f55 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -1,17 +1,20 @@ { - "extends": "./.svelte-kit/tsconfig.json", + "extends": "@tsconfig/svelte/tsconfig.json", "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "module": "ESNext", + "resolveJsonModule": true, + /** + * 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, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "resolveJsonModule": true, - "skipLibCheck": true, - "sourceMap": true, - "strict": true - } - // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias - // - // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes - // from the referenced tsconfig.json - TypeScript does not merge them in + "isolatedModules": true + }, + "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], + "references": [{ "path": "./tsconfig.node.json" }] } |
