-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
36 lines (30 loc) · 1.2 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
{
"compilerOptions": {
// Configuration for Node 20, based on Microsoft recommendations and adjusted for bundling.
// https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
"lib": ["ES2023"],
"target": "ES2022",
"module": "preserve",
"moduleResolution": "bundler",
// Allow 'import x from y' when a module doesn't have a default export.
// https://www.typescriptlang.org/tsconfig/#allowSyntheticDefaultImports
"allowSyntheticDefaultImports": true,
// Better support for importing CommonJS modules.
// https://www.typescriptlang.org/tsconfig/#esModuleInterop
"esModuleInterop": true,
// Ensure that casing is correct in imports.
// https://www.typescriptlang.org/tsconfig/#forceConsistentCasingInFileNames
"forceConsistentCasingInFileNames": true,
// Enables all strict type-checking options.
// https://www.typescriptlang.org/tsconfig/#strict
"strict": true,
// Skips type checking all .d.ts files for faster builds.
// https://www.typescriptlang.org/tsconfig/#skipLibCheck
"skipLibCheck": true,
// Import aliases
// https://www.typescriptlang.org/tsconfig/#paths
"paths": {
"@/*": ["./src/*"]
}
}
}