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:
218218" dom.iterable"
219219],
220220" 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
224227}
225228```
226229
@@ -237,7 +240,7 @@ These options will be overridden if a `tsconfig.json` file is found in your proj
237240}
238241```
239242
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. *
241244
242245### Via the CLI
243246
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export default (pkg: PackageJsonWithTsdConfig, cwd: string): Config => {
4444module,
4545target : ScriptTarget . ES2020 ,
4646esModuleInterop : true ,
47+ noUnusedLocals : false ,
4748...combinedCompilerOptions ,
4849moduleResolution : module === ModuleKind . NodeNext ?
4950ModuleResolutionKind . NodeNext :
You can’t perform that action at this time.
0 commit comments