diff options
Diffstat (limited to 'tsconfig.json')
| -rw-r--r-- | tsconfig.json | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/tsconfig.json b/tsconfig.json index bbb617e..9df6d50 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,15 +1,29 @@ { "extends": "@tsconfig/svelte/tsconfig.json", "compilerOptions": { - "strictNullChecks": true, - "resolveJsonModule": true + "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, + "isolatedModules": true }, "include": [ - "src/**/*" + "src/**/*.d.ts", + "src/**/*.ts", + "src/**/*.svelte" ], - "exclude": [ - "node_modules/*", - "__sapper__/*", - "public/*" + "references": [ + { + "path": "./tsconfig.node.json" + } ] }
\ No newline at end of file |
