File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1401,11 +1401,10 @@ namespace ts {
1401
1401
1402
1402
/// Given a BinaryExpression, returns SpecialPropertyAssignmentKind for the various kinds of property
1403
1403
/// assignments we treat as special in the binder
1404
- export function getSpecialPropertyAssignmentKind ( expression : ts . BinaryExpression ) : SpecialPropertyAssignmentKind {
1405
- if ( ! isInJavaScriptFile ( expression ) ) {
1404
+ export function getSpecialPropertyAssignmentKind ( expr : ts . BinaryExpression ) : SpecialPropertyAssignmentKind {
1405
+ if ( ! isInJavaScriptFile ( expr ) ) {
1406
1406
return SpecialPropertyAssignmentKind . None ;
1407
1407
}
1408
- const expr = < BinaryExpression > expression ;
1409
1408
if ( expr . operatorToken . kind !== SyntaxKind . EqualsToken || expr . left . kind !== SyntaxKind . PropertyAccessExpression ) {
1410
1409
return SpecialPropertyAssignmentKind . None ;
1411
1410
}
You can’t perform that action at this time.
0 commit comments