master
json 34 lines 949 Bytes
Raw
1 {
2 "compilerOptions": {
3 "moduleResolution": "Node",
4 "target": "ESNext",
5 "module": "ESNext",
6 /**
7 * svelte-preprocess cannot figure out whether you have
8 * a value or a type, so tell TypeScript to enforce using
9 * `import type` instead of `import` for Types.
10 */
11 "importsNotUsedAsValues": "error",
12 "isolatedModules": true,
13 "resolveJsonModule": true,
14 /**
15 * To have warnings / errors of the Svelte compiler at the
16 * correct position, enable source maps by default.
17 */
18 "sourceMap": true,
19 "esModuleInterop": true,
20 "skipLibCheck": true,
21 "forceConsistentCasingInFileNames": true,
22 "baseUrl": ".",
23 /**
24 * Typecheck JS in `.svelte` and `.js` files by default.
25 * Disable this if you'd like to use dynamic types.
26 */
27 "checkJs": true
28 },
29 /**
30 * Use global.d.ts instead of compilerOptions.types
31 * to avoid limiting type declarations.
32 */
33 "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
34 }