-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
52 lines (51 loc) · 1.79 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"extends": "@quasar/app-vite/tsconfig-preset",
"vueCompilerOptions": {
"plugins": ["@vue/language-plugin-pug"]
},
"compilerOptions": {
"noUncheckedIndexedAccess": true,
"strictNullChecks": true,
"experimentalDecorators": true,
"skipLibCheck": true,
"types": ["vite/client", "node", "@types/node", "vue-router", "quasar"],
"baseUrl": ".", // Needed to avoid TS error when using paths
"allowJs": true,
"noUnusedLocals": false,
// `baseUrl` must be placed on the extending configuration in devland, or paths won't be recognized
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
// Needed to address https://github.com/quasarframework/app-extension-typescript/issues/36
"noEmit": true,
"resolveJsonModule": true,
// Avoid cross-os errors due to inconsistent file casing
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"strict": true,
"target": "esnext",
"isolatedModules": true,
"useDefineForClassFields": true,
// Fix Volar issue https://github.com/johnsoncodehk/volar/issues/1153
"jsx": "preserve",
"lib": ["esnext", "dom"],
"paths": {
"lib/*": ["src/lib/*"],
"src/*": ["src/*"],
"app/*": ["*"],
"components/*": ["src/components/*"],
"layouts/*": ["src/layouts/*"],
"pages/*": ["src/pages/*"],
"assets/*": ["src/assets/*"],
"boot/*": ["src/boot/*"],
"stores/*": ["src/stores/*"]
}
},
"exclude": ["./src-capacitor", "./src-cordova", "./quasar.config.*.temporary.compiled*", "dist", ".quasar", "node_modules"],
"include": [
"src/**/*.ts",
"src/quasar.d.ts", // Explicitly include your custom type definitions
"src/shims.d.ts", // Explicitly include your custom type definitions
"src/**/*.vue"
]
}