File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -19772,6 +19772,9 @@ namespace ts {
19772
19772
case SyntaxKind.BinaryExpression:
19773
19773
switch ((<BinaryExpression>node).operatorToken.kind) {
19774
19774
case SyntaxKind.EqualsToken:
19775
+ case SyntaxKind.BarBarEqualsToken:
19776
+ case SyntaxKind.AmpersandAmpersandEqualsToken:
19777
+ case SyntaxKind.QuestionQuestionEqualsToken:
19775
19778
return getReferenceCandidate((<BinaryExpression>node).left);
19776
19779
case SyntaxKind.CommaToken:
19777
19780
return getReferenceCandidate((<BinaryExpression>node).right);
@@ -28590,7 +28593,7 @@ namespace ts {
28590
28593
getUnionType([extractDefinitelyFalsyTypes(strictNullChecks ? leftType : getBaseTypeOfLiteralType(rightType)), rightType]) :
28591
28594
leftType;
28592
28595
if (operator === SyntaxKind.AmpersandAmpersandEqualsToken) {
28593
- checkAssignmentOperator(resultType );
28596
+ checkAssignmentOperator(rightType );
28594
28597
}
28595
28598
return resultType;
28596
28599
}
You can’t perform that action at this time.
0 commit comments