We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36f938b commit 0960540Copy full SHA for 0960540
src/compiler/checker.ts
@@ -12348,12 +12348,12 @@ namespace ts {
12348
for (const clause of switchStatement.caseBlock.clauses) {
12349
if (clause.kind === SyntaxKind.CaseClause) {
12350
if (clause.expression.kind === SyntaxKind.StringLiteral) {
12351
- witnesses.push((clause.expression as StringLiteral).text as any);
+ witnesses.push((clause.expression as StringLiteral).text);
12352
continue;
12353
}
12354
return emptyArray;
12355
12356
- witnesses.push(/*explicitDefaultStatement*/ undefined as any);
+ witnesses.push(/*explicitDefaultStatement*/ undefined);
12357
12358
return witnesses;
12359
0 commit comments