forked from visnkmr/filedime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
95 lines (95 loc) · 3.23 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"include": [
"src/*.d.ts",
"shared/*.d.ts",
"src/shared/*.tsx",
"src/components/*.tsx",
"src/*.ts",
"src/*.tsx",
"js/*.ts",
"app/*.tsx",
".next/types/**/*.ts" ],
"compilerOptions": {
// "typeRoots": [
// // "./node_modules/@types",
// "./shared/types"
// // "./typings"
// ],
"target": "ESNext",
"useDefineForClassFields": true,
"removeComments": true,
"esModuleInterop": true,
// Allow JavaScript files to be compiled
// "allowJs": false,
// // Report errors in .js files
// "checkJs": false,
// // Emit a single file with source maps instead of having a separate file
// "inlineSourceMap": false,
// // Emit the source alongside the sourcemaps within a single file
// "inlineSources": false,
// // Generates corresponding .d.ts file
// "declaration": false,
// // Specify output directory for generated declaration files
// "declarationDir": null,
// // Generates a source map for each corresponding .d.ts file
// "declarationMap": false,
// // Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files
// "emitBOM": false,
// // Only emit '.d.ts' declaration files
// "emitDeclarationOnly": false,
// // Emit design-type metadata for decorated declarations in source
// "emitDecoratorMetadata": false,
// // Enable experimental support for ES decorators
// "experimentalDecorators": false,
// // Import emit helpers (e.g. '__extends', '__rest', etc..) from tslib
// "importHelpers": false,
// Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)
"moduleResolution": "node",
// Do not generate custom helper functions like __extends in compiled output
// "module": "NodeNext",
// Enable all strict type checking options
"strict": true,
// Raise an error on expressions and declarations with an inferred type of any
"noImplicitAny": true,
// Raise an error on this expressions with an inferred type of any
"noImplicitThis": true,
// Parse in strict mode and emit "use strict" for each source file
"alwaysStrict": false,
// Enable stricter checking of the bind, call, and apply methods on functions
"strictBindCallApply": true,
// Enable stricter checking of null and undefined values
"strictNullChecks": true,
// Enable stricter checking of function types for the purposes of assignability
"strictFunctionTypes": true,
// Ensure non-undefined class properties are initialized in the constructor
"strictPropertyInitialization": true,
// Report an error when not all code paths in function return a value
"noImplicitReturns": true,
// Report errors for fallthrough cases in switch statement
"noFallthroughCasesInSwitch": true
// "esModuleInterop": true
,
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"incremental": true,
"module": "esnext",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"plugins": [
{
"name": "next"
}
]
},
"exclude": [
"node_modules"
]
}