-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
28 lines (25 loc) · 811 Bytes
/
tsconfig.json
File metadata and controls
28 lines (25 loc) · 811 Bytes
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
{
"compilerOptions": {
"target": "ESNext", // Compile to modern JavaScript
"useDefineForClassFields": true,
"module": "ESNext", // Use modern module system
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true, // We let Vite handle the emitting of JS files
/* Linting */
"strict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
/* For Library Authors */
"declaration": true, // Generate .d.ts files
"declarationMap": true,
"sourceMap": true
},
"include": ["src"] // Only compile files in the 'src' directory
}