File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2+ // see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
23 "include" : [" src" , " types" ],
34 "compilerOptions" : {
45 "module" : " esnext" ,
56 "lib" : [" dom" , " esnext" ],
67 "importHelpers" : true ,
8+ // output .d.ts declaration files for consumers
79 "declaration" : true ,
10+ // output .js.map sourcemap files for consumers
811 "sourceMap" : true ,
12+ // match output dir to input dir. e.g. dist/index instead of dist/src/index
913 "rootDir" : " ./src" ,
14+ // stricter type-checking for stronger correctness. Recommended by TS
1015 "strict" : true ,
16+ // linter checks for common issues
1117 "noUnusedLocals" : true ,
1218 "noUnusedParameters" : true ,
1319 "noImplicitReturns" : true ,
1420 "noFallthroughCasesInSwitch" : true ,
21+ // use Node's module resolution algorithm, instead of the legacy TS one
1522 "moduleResolution" : " node" ,
23+ // transpile JSX to React.createElement
1624 "jsx" : " react" ,
25+ // interop between ESM and CJS modules. Recommended by TS
1726 "esModuleInterop" : true ,
27+ // significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS
1828 "skipLibCheck" : true ,
29+ // error out if import and file system have a casing mismatch. Recommended by TS
1930 "forceConsistentCasingInFileNames" : true ,
31+ // `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc`
2032 "noEmit" : true ,
2133 }
2234}
Original file line number Diff line number Diff line change 11{
2+ // see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
23 "include" : [" src" , " types" ],
34 "compilerOptions" : {
45 "module" : " esnext" ,
56 "lib" : [" dom" , " esnext" ],
67 "importHelpers" : true ,
8+ // output .d.ts declaration files for consumers
79 "declaration" : true ,
10+ // output .js.map sourcemap files for consumers
811 "sourceMap" : true ,
12+ // match output dir to input dir. e.g. dist/index instead of dist/src/index
913 "rootDir" : " ./src" ,
14+ // stricter type-checking for stronger correctness. Recommended by TS
1015 "strict" : true ,
16+ // linter checks for common issues
1117 "noUnusedLocals" : true ,
1218 "noUnusedParameters" : true ,
1319 "noImplicitReturns" : true ,
1420 "noFallthroughCasesInSwitch" : true ,
21+ // use Node's module resolution algorithm, instead of the legacy TS one
1522 "moduleResolution" : " node" ,
23+ // transpile JSX to React.createElement
1624 "jsx" : " react" ,
25+ // interop between ESM and CJS modules. Recommended by TS
1726 "esModuleInterop" : true ,
27+ // significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS
1828 "skipLibCheck" : true ,
29+ // error out if import and file system have a casing mismatch. Recommended by TS
1930 "forceConsistentCasingInFileNames" : true ,
31+ // `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc`
2032 "noEmit" : true ,
2133 }
2234}
Original file line number Diff line number Diff line change 11{
2+ // see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
23 "include" : [" src" , " types" ],
34 "compilerOptions" : {
45 "module" : " esnext" ,
56 "lib" : [" dom" , " esnext" ],
67 "importHelpers" : true ,
8+ // output .d.ts declaration files for consumers
79 "declaration" : true ,
10+ // output .js.map sourcemap files for consumers
811 "sourceMap" : true ,
12+ // match output dir to input dir. e.g. dist/index instead of dist/src/index
913 "rootDir" : " ./src" ,
14+ // stricter type-checking for stronger correctness. Recommended by TS
1015 "strict" : true ,
16+ // linter checks for common issues
1117 "noUnusedLocals" : true ,
1218 "noUnusedParameters" : true ,
1319 "noImplicitReturns" : true ,
1420 "noFallthroughCasesInSwitch" : true ,
21+ // use Node's module resolution algorithm, instead of the legacy TS one
1522 "moduleResolution" : " node" ,
23+ // transpile JSX to React.createElement
1624 "jsx" : " react" ,
25+ // interop between ESM and CJS modules. Recommended by TS
1726 "esModuleInterop" : true ,
27+ // significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS
1828 "skipLibCheck" : true ,
29+ // error out if import and file system have a casing mismatch. Recommended by TS
1930 "forceConsistentCasingInFileNames" : true ,
31+ // `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc`
2032 "noEmit" : true ,
2133 }
2234}
You can’t perform that action at this time.
0 commit comments