File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments