Skip to content

Commit 0960540

Browse files
committed
Remove any annotations
1 parent 36f938b commit 0960540

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/checker.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12348,12 +12348,12 @@ namespace ts {
1234812348
for (const clause of switchStatement.caseBlock.clauses) {
1234912349
if (clause.kind === SyntaxKind.CaseClause) {
1235012350
if (clause.expression.kind === SyntaxKind.StringLiteral) {
12351-
witnesses.push((clause.expression as StringLiteral).text as any);
12351+
witnesses.push((clause.expression as StringLiteral).text);
1235212352
continue;
1235312353
}
1235412354
return emptyArray;
1235512355
}
12356-
witnesses.push(/*explicitDefaultStatement*/ undefined as any);
12356+
witnesses.push(/*explicitDefaultStatement*/ undefined);
1235712357
}
1235812358
return witnesses;
1235912359
}

0 commit comments

Comments
 (0)