File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1435,7 +1435,7 @@ namespace ts {
1435
1435
bindCondition ( node . right , trueTarget , falseTarget ) ;
1436
1436
}
1437
1437
1438
- function bindNullishCollasingExpression ( node : BinaryExpression , trueTarget : FlowLabel , falseTarget : FlowLabel ) {
1438
+ function bindNullishCoalescingExpression ( node : BinaryExpression , trueTarget : FlowLabel , falseTarget : FlowLabel ) {
1439
1439
const notNullLabel = createBranchLabel ( ) ;
1440
1440
bindCondition ( node . left , trueTarget , notNullLabel ) ;
1441
1441
currentFlow = finishFlowLabel ( notNullLabel ) ;
@@ -1476,7 +1476,7 @@ namespace ts {
1476
1476
currentFlow = finishFlowLabel ( postExpressionLabel ) ;
1477
1477
}
1478
1478
else if ( operator === SyntaxKind . QuestionQuestionToken ) {
1479
- bindNullishCollasingExpression ( node , currentTrueTarget ! , currentFalseTarget ! ) ;
1479
+ bindNullishCoalescingExpression ( node , currentTrueTarget ! , currentFalseTarget ! ) ;
1480
1480
}
1481
1481
else {
1482
1482
bindLogicalExpression ( node , currentTrueTarget ! , currentFalseTarget ! ) ;
You can’t perform that action at this time.
0 commit comments