Skip to content

Commit b466336

Browse files
author
Benjamin Lichtman
committed
Add class expression to set of nodes for outlining
1 parent 0dbb976 commit b466336

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/outliningElementsCollector.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ namespace ts.OutliningElementsCollector {
175175
case SyntaxKind.ModuleBlock:
176176
return spanForNode(n.parent);
177177
case SyntaxKind.ClassDeclaration:
178+
case SyntaxKind.ClassExpression:
178179
case SyntaxKind.InterfaceDeclaration:
179180
case SyntaxKind.EnumDeclaration:
180181
case SyntaxKind.CaseBlock:

0 commit comments

Comments
 (0)