Skip to content

Commit 002973b

Browse files
committed
Drop commented code
1 parent cb6ca68 commit 002973b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎src/compiler/checker.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27422,11 +27422,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
2742227422
}
2742327423
else if (expr.kind === SyntaxKind.TrueKeyword) {
2742427424
type = narrowTypeBySwitchOnTrue(type, flow.switchStatement, flow.clauseStart, flow.clauseEnd);
27425-
// const clause = flow.switchStatement.caseBlock.clauses.find((_, index) => index === flow.clauseStart);
27426-
// const clauseExpression = clause && clause.kind === SyntaxKind.CaseClause ? clause.expression : undefined;
27427-
// if (clauseExpression) {
27428-
// type = narrowType(type, clauseExpression, /*assumeTrue*/ true);
27429-
// }
2743027425
}
2743127426
else {
2743227427
if (strictNullChecks) {

0 commit comments

Comments
 (0)