diff options
Diffstat (limited to 'web/pw-frontend/tsconfig.json')
-rw-r--r-- | web/pw-frontend/tsconfig.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/web/pw-frontend/tsconfig.json b/web/pw-frontend/tsconfig.json new file mode 100644 index 0000000..2bfc2d3 --- /dev/null +++ b/web/pw-frontend/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "@tsconfig/svelte/tsconfig.json", + "compilerOptions": { + "target": "esnext", + "useDefineForClassFields": true, + "module": "esnext", + + "resolveJsonModule": true, + "baseUrl": ".", + /** + * 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": false, + "checkJs": false + }, + "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"] +} |