-
Notifications
You must be signed in to change notification settings - Fork 7
/
tsconfig.json
29 lines (29 loc) · 984 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
{
"compilerOptions": {
"target": "es2020",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noUncheckedIndexedAccess": true, // restrict index signature
"exactOptionalPropertyTypes": true, // restrict optional property
"noImplicitReturns": true, // requires a write of all return values in the function
"noFallthroughCasesInSwitch": true, // must write 'break' for fallthrough in switch
"forceConsistentCasingInFileNames": true, // judge case Upper and Lower
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"removeComments": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
},
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "jest.setup.js", "jest.config.js"],
"exclude": ["node_modules"]
}