aboutsummaryrefslogtreecommitdiff
path: root/web/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'web/tsconfig.json')
-rw-r--r--web/tsconfig.json27
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" }]
}