-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
34 lines (33 loc) · 1002 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
{
"compilerOptions": {
// Start -- Base TypeScript Configurations for a strict environment
"alwaysStrict": true,
"esModuleInterop": true,
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
// End -- Base TypeScript Configurations for a strict environment
// Start -- Base TypeScript Configurations for a Next.js environment
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"jsx": "preserve",
"lib": ["dom", "dom.iterable", "esnext"],
"module": "esnext",
"moduleResolution": "node",
"noEmit": true,
"target": "esnext"
// End -- Base TypeScript Configurations for a Next.js environment
}
}