Skip to content

Commit 05d1e68

Browse files
committed
Fix linting issues
1 parent d26afd7 commit 05d1e68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17019,7 +17019,7 @@ namespace ts {
1701917019
}
1702017020
else if (flags & FlowFlags.BranchLabel) {
1702117021
// A branching point is reachable if any branch is reachable.
17022-
return some((<FlowLabel>flow).antecedents!, isReachableFlowNode);
17022+
return some((<FlowLabel>flow).antecedents, isReachableFlowNode);
1702317023
}
1702417024
else if (flags & FlowFlags.LoopLabel) {
1702517025
// A loop is reachable if the control flow path that leads to the top is reachable.
@@ -17331,7 +17331,7 @@ namespace ts {
1733117331
}
1733217332

1733317333
function getTypeAtSwitchClause(flow: FlowSwitchClause): FlowType {
17334-
if (flow.clauseStart === flow.clauseEnd && isExhaustiveSwitchStatement((<FlowSwitchClause>flow).switchStatement)) {
17334+
if (flow.clauseStart === flow.clauseEnd && isExhaustiveSwitchStatement(flow.switchStatement)) {
1733517335
return neverType;
1733617336
}
1733717337
const expr = flow.switchStatement.expression;

0 commit comments

Comments
 (0)