Skip to content

Commit 0106a18

Browse files
committed
Set flag true by default, for testing purposes
1 parent e4235a7 commit 0106a18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiler/checker.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1448,7 +1448,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
14481448
var noImplicitAny = getStrictOptionValue(compilerOptions, "noImplicitAny");
14491449
var noImplicitThis = getStrictOptionValue(compilerOptions, "noImplicitThis");
14501450
var useUnknownInCatchVariables = getStrictOptionValue(compilerOptions, "useUnknownInCatchVariables");
1451-
var strictInstanceOfTypeParameters = getStrictOptionValue(compilerOptions, "strictInstanceOfTypeParameters");
1451+
// Enabling flag by default for testing, do not merge as-is
1452+
var strictInstanceOfTypeParameters = true;
14521453
var keyofStringsOnly = !!compilerOptions.keyofStringsOnly;
14531454
var freshObjectLiteralFlag = compilerOptions.suppressExcessPropertyErrors ? 0 : ObjectFlags.FreshLiteral;
14541455
var exactOptionalPropertyTypes = compilerOptions.exactOptionalPropertyTypes;

0 commit comments

Comments
 (0)