Default --strict to true.

This commit is contained in:
Daniel Rosenwasser 2026-02-03 23:28:52 +00:00
parent 178a0e0481
commit b572d15666

View File

@ -9310,7 +9310,7 @@ export type StrictOptionName =
/** @internal */
export function getStrictOptionValue(compilerOptions: CompilerOptions, flag: StrictOptionName): boolean {
return compilerOptions[flag] === undefined ? !!compilerOptions.strict : !!compilerOptions[flag];
return compilerOptions[flag] === undefined ? (compilerOptions.strict !== false) : !!compilerOptions[flag];
}
/** @internal */