-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
39 lines (28 loc) · 886 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
36
37
38
39
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"compilerOptions": {
// Module
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
// Emitting
"noEmit": true,
// Vite-specific options
// https://vitejs.dev/guide/features.html#usedefineforclassfields
"useDefineForClassFields": true,
// https://vitejs.dev/guide/features.html#isolatedmodules
"isolatedModules": true,
"verbatimModuleSyntax": true,
// Type-checking
"strict": true,
"skipLibCheck": true,
// Reset types
"types": [],
// ES2020 (ES11) recommended by official config
// https://github.com/vuejs/tsconfig/blob/22e15e3947c8ce1d9c5992229da0351c464fb9e8/tsconfig.dom.json#L5-L11
"lib": ["ES2020"]
}
}