mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
PR Feedback
This commit is contained in:
parent
21963ce337
commit
315b5f4b78
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user