diff --git a/src/checks.ts b/src/checks.ts index 98c73512..add93f7f 100644 --- a/src/checks.ts +++ b/src/checks.ts @@ -121,7 +121,13 @@ export async function checkTsconfig(dirPath: string, dt: DefinitelyTypedInfo | u } } } else { - for (const key of ["noImplicitAny", "noImplicitThis", "strictNullChecks", "strictFunctionTypes"]) { + for (const key of ["noImplicitAny"]) { + if (!options[key]) { + throw new Error(`Expected \`"${key}": true\`.`); + } + } + + for (const key of ["noImplicitThis", "strictNullChecks", "strictFunctionTypes"]) { if (!(key in options)) { throw new Error(`Expected \`"${key}": true\` or \`"${key}": false\`.`); }