-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
35 lines (30 loc) · 884 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
32
33
34
35
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"baseUrl": ".",
"types": ["node", "vite/client"],
"paths": {
"@/*": ["./src/*"]
},
"importsNotUsedAsValues": "error",
"noImplicitThis": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"removeComments": true,
// Required in Vue projects
"jsx": "preserve",
// For `<script setup>`
"preserveValueImports": true,
// Vite recommended (https://vitejs.dev/guide/features.html#typescript-compiler-options=)
"isolatedModules": true,
"useDefineForClassFields": true,
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"skipLibCheck": true
},
"include": ["src/**/*", "env.d.ts", "vite.config.ts"],
"exclude": ["dist, node_modules"]
}