File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1461,6 +1461,13 @@ module.exports = function convert(config) {
1461
1461
result . expressions . push ( right ) ;
1462
1462
}
1463
1463
1464
+ } else if ( node . operatorToken && node . operatorToken . kind === SyntaxKind . AsteriskAsteriskEqualsToken ) {
1465
+ Object . assign ( result , {
1466
+ type : AST_NODE_TYPES . AssignmentExpression ,
1467
+ operator : nodeUtils . getTextForTokenKind ( node . operatorToken . kind ) ,
1468
+ left : convertChild ( node . left ) ,
1469
+ right : convertChild ( node . right )
1470
+ } ) ;
1464
1471
} else {
1465
1472
Object . assign ( result , {
1466
1473
type : nodeUtils . getBinaryExpressionType ( node . operatorToken ) ,
Original file line number Diff line number Diff line change @@ -65558,7 +65558,7 @@ Object {
65558
65558
"type": "Literal",
65559
65559
"value": 4,
65560
65560
},
65561
- "type": "BinaryExpression ",
65561
+ "type": "AssignmentExpression ",
65562
65562
},
65563
65563
"loc": Object {
65564
65564
"end": Object {
You can’t perform that action at this time.
0 commit comments