We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a9dadb commit 1b5b146Copy full SHA for 1b5b146
1 file changed
src/services/navigationBar.ts
@@ -156,8 +156,7 @@ namespace ts.NavigationBar {
156
case SyntaxKind.ClassDeclaration:
157
topLevelNodes.push(node);
158
forEach((<ClassDeclaration>node).members, (node) => {
159
- if (node.kind === SyntaxKind.MethodDeclaration ||
160
- node.kind === SyntaxKind.Constructor) {
+ if (node.kind === SyntaxKind.MethodDeclaration || node.kind === SyntaxKind.Constructor) {
161
if ((<MethodDeclaration>node).body) {
162
addTopLevelNodes((<Block>(<MethodDeclaration>node).body).statements, topLevelNodes);
163
}
0 commit comments