Skip to content

Commit d5d9b1b

Browse files
committed
Add DefaultClause to BlockLike union
1 parent 88c6825 commit d5d9b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,7 +1550,7 @@ namespace ts {
15501550
name?: Identifier;
15511551
}
15521552

1553-
export type BlockLike = SourceFile | Block | ModuleBlock | CaseClause;
1553+
export type BlockLike = SourceFile | Block | ModuleBlock | CaseOrDefaultClause;
15541554

15551555
export interface Block extends Statement {
15561556
kind: SyntaxKind.Block;

0 commit comments

Comments
 (0)