Skip to content

Commit 7fd8658

Browse files
committed
avoid unnecessary assert
1 parent cb187cb commit 7fd8658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/binder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1440,7 +1440,7 @@ namespace ts {
14401440
bindCondition(node.left, trueTarget, notNullLabel);
14411441
currentFlow = finishFlowLabel(notNullLabel);
14421442
bind(node.operatorToken);
1443-
bindCondition(node.right, trueTarget, falseTarget!);
1443+
bindCondition(node.right, trueTarget, falseTarget);
14441444
}
14451445

14461446
function bindPrefixUnaryExpressionFlow(node: PrefixUnaryExpression) {

0 commit comments

Comments
 (0)