File tree 1 file changed +2
-1
lines changed
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 {
1448
1448
var noImplicitAny = getStrictOptionValue(compilerOptions, "noImplicitAny");
1449
1449
var noImplicitThis = getStrictOptionValue(compilerOptions, "noImplicitThis");
1450
1450
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;
1452
1453
var keyofStringsOnly = !!compilerOptions.keyofStringsOnly;
1453
1454
var freshObjectLiteralFlag = compilerOptions.suppressExcessPropertyErrors ? 0 : ObjectFlags.FreshLiteral;
1454
1455
var exactOptionalPropertyTypes = compilerOptions.exactOptionalPropertyTypes;
You can’t perform that action at this time.
0 commit comments