-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
27 lines (27 loc) · 961 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"types": ["node"],
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": false,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"moduleResolution": "bundler",
// SvelteKit is meant to auto-generate this but
// it wasn't working for me with VSCode Intellisense
"paths": {
"$components/*": ["./src/components/*"],
"$helpers/*": ["./src/helpers/*"],
"$models/*": ["./src/models/*"],
}
},
"include": ["src/**/*"]
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
// except $lib which is handled by https://kit.svelte.dev/docs/configuration#files
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
// from the referenced tsconfig.json - TypeScript does not merge them in
}