From c0c4bea988208f75fa4534b807a026de3f619eaf Mon Sep 17 00:00:00 2001 From: gammelalf Date: Wed, 25 Jan 2023 21:22:38 +0100 Subject: Switched from SvelteKit to Svelte --- web/tsconfig.json | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'web/tsconfig.json') 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" }] } -- cgit v1.2.3