1 | {
|
2 | "$schema": "https://json.schemastore.org/tsconfig",
|
3 | "display": "Svelte",
|
4 | "_version": "3.0.0",
|
5 |
|
6 | "compilerOptions": {
|
7 | "moduleResolution": "node",
|
8 | "target": "es2017",
|
9 | /**
|
10 | Svelte Preprocess cannot figure out whether you have a value or a type, so tell TypeScript
|
11 | to enforce using `import type` instead of `import` for Types.
|
12 | */
|
13 | "importsNotUsedAsValues": "error",
|
14 | /**
|
15 | TypeScript doesn't know about import usages in the template because it only sees the
|
16 | script of a Svelte file. Therefore preserve all value imports. Requires TS 4.5 or higher.
|
17 | */
|
18 | "preserveValueImports": true,
|
19 | "isolatedModules": true,
|
20 | /**
|
21 | To have warnings/errors of the Svelte compiler at the correct position,
|
22 | enable source maps by default.
|
23 | */
|
24 | "sourceMap": true,
|
25 |
|
26 | "strict": false,
|
27 | "esModuleInterop": true,
|
28 | "skipLibCheck": true,
|
29 | "forceConsistentCasingInFileNames": true
|
30 | }
|
31 | }
|