We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--strict
true
1 parent 178a0e0 commit b572d15Copy full SHA for b572d15
1 file changed
src/compiler/utilities.ts
@@ -9310,7 +9310,7 @@ export type StrictOptionName =
9310
9311
/** @internal */
9312
export function getStrictOptionValue(compilerOptions: CompilerOptions, flag: StrictOptionName): boolean {
9313
- return compilerOptions[flag] === undefined ? !!compilerOptions.strict : !!compilerOptions[flag];
+ return compilerOptions[flag] === undefined ? (compilerOptions.strict !== false) : !!compilerOptions[flag];
9314
}
9315
9316
0 commit comments