undo extraneous diffs

This commit is contained in:
Nathan Shively-Sanders 2021-11-03 09:52:09 -07:00
parent a9d808bd0d
commit 1089cd156c

View file

@ -17814,8 +17814,7 @@ namespace ts {
} }
} }
if (source.flags & TypeFlags.StructuredOrInstantiable || target.flags & TypeFlags.StructuredOrInstantiable) { if (source.flags & TypeFlags.StructuredOrInstantiable || target.flags & TypeFlags.StructuredOrInstantiable) {
return checkTypeRelatedTo(source, target, relation, return checkTypeRelatedTo(source, target, relation, /*errorNode*/ undefined);
/*errorNode*/ undefined, /*headMessage*/ undefined, /*containingMessageChain*/ undefined, /*errorOutputContainer*/ undefined);
} }
return false; return false;
} }
@ -17925,6 +17924,7 @@ namespace ts {
Debug.assert(!!errorOutputContainer.errors, "missed opportunity to interact with error."); Debug.assert(!!errorOutputContainer.errors, "missed opportunity to interact with error.");
} }
return result !== Ternary.False; return result !== Ternary.False;
function resetErrorInfo(saved: ReturnType<typeof captureErrorCalculationState>) { function resetErrorInfo(saved: ReturnType<typeof captureErrorCalculationState>) {