diff options
Diffstat (limited to 'fe/tsconfig.json')
-rw-r--r-- | fe/tsconfig.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fe/tsconfig.json b/fe/tsconfig.json new file mode 100644 index 0000000..5fb548f --- /dev/null +++ b/fe/tsconfig.json | |||
@@ -0,0 +1,20 @@ | |||
1 | { | ||
2 | "extends": "@tsconfig/svelte/tsconfig.json", | ||
3 | "compilerOptions": { | ||
4 | "target": "ESNext", | ||
5 | "useDefineForClassFields": true, | ||
6 | "module": "ESNext", | ||
7 | "resolveJsonModule": true, | ||
8 | /** | ||
9 | * Typecheck JS in `.svelte` and `.js` files by default. | ||
10 | * Disable checkJs if you'd like to use dynamic types in JS. | ||
11 | * Note that setting allowJs false does not prevent the use | ||
12 | * of JS in `.svelte` files. | ||
13 | */ | ||
14 | "allowJs": true, | ||
15 | "checkJs": true, | ||
16 | "isolatedModules": true | ||
17 | }, | ||
18 | "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], | ||
19 | "references": [{ "path": "./tsconfig.node.json" }] | ||
20 | } | ||