-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
58 lines (58 loc) · 2.26 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"compilerOptions": {
"lib": [
"DOM",
"DOM.Iterable",
"ES6",
"ScriptHost"
],
"allowJs": false,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "CommonJS",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"outDir": "./dist",
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": [
"./src/*"
]
},
"target": "ES6", // The target version of ECMAScript
"sourceMap": false, // Disables the generation of source maps
"declaration": true, // Generates declaration files (.d.ts)
"removeComments": true, // Removes comments from output files
"noImplicitAny": true, // Prohibits the implicit type any
"noUnusedLocals": true, // Error if there are unused local variables
"noUnusedParameters": true, // Error if there are unused parameters
"noImplicitReturns": true, // Error if there are implicit return values
"noFallthroughCasesInSwitch": true, // Error if there is a fallthrough in the switch
"forceConsistentCasingInFileNames": true, // Ensures case consistency in file names
"noPropertyAccessFromIndexSignature": true, // Disallow accessing properties using an index signature.
"noUncheckedIndexedAccess": true, // Ensure that all indexed access types are checked.
"allowUnreachableCode": false, // Disallow unreachable code after return, throw, break, and continue statements.
"allowUnusedLabels": false, // Disallow unused labels.
"suppressExcessPropertyErrors": false, // Do not suppress errors for excess properties in object literals.
"suppressImplicitAnyIndexErrors": false, // Do not suppress errors for implicit 'any' types in index signatures.
"noStrictGenericChecks": false // Disable strict checking of generic types.
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}