-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
31 lines (31 loc) · 971 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
28
29
30
31
{
"extends": "@tsconfig/svelte/tsconfig.json",
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"resolveJsonModule": true,
"moduleResolution": "node",
/**
* 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": true,
"checkJs": true,
"isolatedModules": true,
"paths": {
"$lib": ["./frontend/src/lib"],
"$lib/*": ["./frontend/src/lib/*"],
"@": ["./frontend/src/"],
"@/*": ["./frontend/src/*"],
"$root/": ["./"],
"$root/*": ["./*"],
"$public/": ["./frontend/public/"],
"$public/*": ["./frontend/public/*"],
}
},
"include": ["frontend/src/**/*.ts", "frontend/src/**/*.js", "frontend/src/**/*.svelte", "scripts/**/*.ts", "scripts/**/*.js"],
"references": [{ "path": "./tsconfig.node.json" }]
}