File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @hyperlane-xyz/tsconfig " : minor
3+ ---
4+
5+ Defined a new tsconfig file with stricter type checking for accessing array and object properties
Original file line number Diff line number Diff line change 1+ {
2+ "compilerOptions" : {
3+ // Completeness
4+ "skipLibCheck" : true ,
5+
6+ // Interoperability
7+ "esModuleInterop" : true ,
8+ "forceConsistentCasingInFileNames" : true ,
9+ "preserveSymlinks" : false ,
10+
11+ // Module settings
12+ "module" : " nodenext" ,
13+ "moduleResolution" : " nodenext" ,
14+ "resolveJsonModule" : true ,
15+
16+ // Output formatting
17+ "preserveWatchOutput" : true ,
18+ "pretty" : false ,
19+
20+ // Project build
21+ "incremental" : false ,
22+ "lib" : [" ES2023" ],
23+ "target" : " es2023" ,
24+
25+ // Type checking
26+ "allowUnreachableCode" : false ,
27+ "noFallthroughCasesInSwitch" : true ,
28+ "noImplicitOverride" : true ,
29+ "noImplicitReturns" : true ,
30+ "noPropertyAccessFromIndexSignature" : true ,
31+ "noUncheckedIndexedAccess" : true ,
32+ "noUnusedLocals" : true ,
33+ "noUnusedParameters" : true ,
34+ "strict" : true ,
35+
36+ // Type emit setting
37+ "declaration" : true ,
38+ "declarationMap" : true ,
39+ "noEmitOnError" : true ,
40+ "sourceMap" : true
41+ },
42+ "ts-node" : {
43+ "experimentalResolver" : true ,
44+ "experimentalSpecifierResolution" : " node" ,
45+ "files" : true
46+ }
47+ }
You can’t perform that action at this time.
0 commit comments