File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -218,9 +218,12 @@ By default, `tsd` applies the following configuration:
218
218
" dom.iterable"
219
219
],
220
220
" module" : " commonjs" ,
221
- // The following option is set and is not overridable.
222
- // It is set to `nodenext` if `module` is `nodenext`, `node16` if `module` is `node16` or `node` otherwise.
223
- " moduleResolution" : " node" | " node16" | " nodenext"
221
+ " esModuleInterop" : true ,
222
+ " noUnusedLocals" : false ,
223
+ // The following options are set and are not overridable.
224
+ // Set to `nodenext` if `module` is `nodenext`, `node16` if `module` is `node16` or `node` otherwise.
225
+ " moduleResolution" : " node" | " node16" | " nodenext" ,
226
+ " skipLibCheck" : false
224
227
}
225
228
```
226
229
@@ -237,7 +240,7 @@ These options will be overridden if a `tsconfig.json` file is found in your proj
237
240
}
238
241
```
239
242
240
- * Default options will apply if you don't override them explicitly.* You can't override the ` moduleResolution ` option.
243
+ * Default options will apply if you don't override them explicitly. You can't override the ` moduleResolution ` or ` skipLibCheck ` options. *
241
244
242
245
### Via the CLI
243
246
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export default (pkg: PackageJsonWithTsdConfig, cwd: string): Config => {
44
44
module,
45
45
target : ScriptTarget . ES2020 ,
46
46
esModuleInterop : true ,
47
+ noUnusedLocals : false ,
47
48
...combinedCompilerOptions ,
48
49
moduleResolution : module === ModuleKind . NodeNext ?
49
50
ModuleResolutionKind . NodeNext :
You can’t perform that action at this time.
0 commit comments