PR Feedback

This commit is contained in:
Ron Buckton 2020-07-30 11:13:58 -07:00
parent 21963ce337
commit 315b5f4b78

View File

@ -20132,10 +20132,7 @@ namespace ts {
case SyntaxKind.NonNullExpression:
return isMatchingReference(source, (target as NonNullExpression | ParenthesizedExpression).expression);
case SyntaxKind.BinaryExpression:
if (isAssignmentExpression(target)) {
return isMatchingReference(source, target.left);
}
break;
return isAssignmentExpression(target) && isMatchingReference(source, target.left);
}
switch (source.kind) {
case SyntaxKind.Identifier: