9
9
"moduleResolution" : " Node" , // Resolve modules using Node-style resolution.
10
10
"noEmitOnError" : true , // Prevent emitting JS files if there are errors.
11
11
"noFallthroughCasesInSwitch" : true , // Prevent fallthrough in switch cases.
12
- "noImplicitAny" : true , // Disallow implicit any types.
12
+ "noImplicitAny" : false , // Disallow implicit any types.
13
13
"noImplicitReturns" : true , // Ensure functions return a value.
14
14
"noUnusedLocals" : true , // Warn on unused local variables.
15
15
"noUnusedParameters" : true , // Warn on unused function parameters.
16
- "strict" : true , // Enable all strict checks.
17
- "strictBindCallApply" : true , // Enable strict checking of bind, call, and apply methods.
18
- "strictFunctionTypes" : true , // Enable strict checking of function types.
19
- "strictNullChecks" : true , // Enable strict null checks.
16
+ "strict" : false , // Enable all strict checks.
17
+ "strictBindCallApply" : false , // Enable strict checking of bind, call, and apply methods.
18
+ "strictFunctionTypes" : false , // Enable strict checking of function types.
19
+ "strictNullChecks" : false , // Enable strict null checks.
20
20
"skipLibCheck" : true , // Skip checking of declaration files.
21
21
"sourceMap" : true , // Generate source maps.
22
22
"target" : " ES2020" , // Set ECMAScript version to ES2020.
23
+ "typeRoots" : [
24
+ " ./node_modules/@types" ,
25
+ " ./node_modules/@testing-library"
26
+ ], // Specify root directory for type declarations.
23
27
"types" : [
24
28
" node" ,
25
29
" react" ,
31
35
" DOM.Iterable"
32
36
] // Include libraries for ES2020 and DOM.
33
37
},
38
+ "include" : [
39
+ " src" ,
40
+ " spec" ,
41
+ " samples"
42
+ ], // Include only the provided directory for compilation.
34
43
"exclude" : [
35
44
" node_modules" ,
36
45
" dist" ,
39
48
" test-report"
40
49
], // Exclude these directories from compilation.
41
50
"compileOnSave" : false // Disable Compile-on-Save.
42
- }
51
+ }
0 commit comments