-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
42 lines (41 loc) · 1.25 KB
/
tsconfig.json
File metadata and controls
42 lines (41 loc) · 1.25 KB
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
{
"compilerOptions": {
// --- Add/Modify the 'types' array ---
"types": [
"node", // Include node types (commonly needed)
"vitest/globals" // Add Vitest global types
],
// --- Existing options ---
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"module": "ESNext",
"moduleResolution": "Node", // Or "NodeNext", "Bundler"
"esModuleInterop": true,
"resolveJsonModule": true,
"isolatedModules": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"target": "ES2020", // Or higher if preferred
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"jsx": "react-jsx",
"incremental": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
// Define paths if needed later
}
},
"exclude": ["node_modules", "**/dist", "**/coverage", "**/*.config.js", "**/*.config.mjs", "**/*.config.ts", "**/*.setup.ts"]
}