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 @@ -17019,7 +17019,7 @@ namespace ts {
17019
17019
}
17020
17020
else if (flags & FlowFlags.BranchLabel) {
17021
17021
// A branching point is reachable if any branch is reachable.
17022
- return some((<FlowLabel>flow).antecedents! , isReachableFlowNode);
17022
+ return some((<FlowLabel>flow).antecedents, isReachableFlowNode);
17023
17023
}
17024
17024
else if (flags & FlowFlags.LoopLabel) {
17025
17025
// A loop is reachable if the control flow path that leads to the top is reachable.
@@ -17331,7 +17331,7 @@ namespace ts {
17331
17331
}
17332
17332
17333
17333
function getTypeAtSwitchClause(flow: FlowSwitchClause): FlowType {
17334
- if (flow.clauseStart === flow.clauseEnd && isExhaustiveSwitchStatement((<FlowSwitchClause> flow) .switchStatement)) {
17334
+ if (flow.clauseStart === flow.clauseEnd && isExhaustiveSwitchStatement(flow.switchStatement)) {
17335
17335
return neverType;
17336
17336
}
17337
17337
const expr = flow.switchStatement.expression;
You can’t perform that action at this time.
0 commit comments