-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
37 lines (30 loc) · 1.11 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
37
{
"compilerOptions": {
// Enables project references and informs the TypeScript program where to find referenced outputs.
"composite": true,
// Project references rely on the compiled declarations (.d.ts) of external projects.
// If declarations do not exist, TypeScript will generate them on demand.
"declaration": true,
// Generate sourcemaps for declarations, so that language server integrations in editors like "Go to" resolve correctly.
"declarationMap": true,
// Enables incremental compilation
"incremental": true,
// If the typechecker fails, avoid generating invalid or partial declarations.
"noEmitOnError": true,
// Avoids eager loading and analyzing all declarations, greatly improving performance.
"skipLibCheck": true,
// Proper ESM support
"target": "esnext",
"module": "esnext",
"esModuleInterop": true,
"strict": true,
// Other
"jsx": "preserve",
"noImplicitAny": true,
"noUncheckedIndexedAccess": true,
"resolveJsonModule": true,
"moduleResolution": "bundler",
"sourceMap": true,
"noUnusedLocals": true
}
}