Add class expression to set of nodes for outlining

This commit is contained in:
Benjamin Lichtman
2018-12-31 14:04:48 -08:00
parent 0dbb9760c0
commit b466336a3e

View File

@@ -175,6 +175,7 @@ namespace ts.OutliningElementsCollector {
case SyntaxKind.ModuleBlock:
return spanForNode(n.parent);
case SyntaxKind.ClassDeclaration:
case SyntaxKind.ClassExpression:
case SyntaxKind.InterfaceDeclaration:
case SyntaxKind.EnumDeclaration:
case SyntaxKind.CaseBlock: