Skip to content

Commit 1b5b146

Browse files
committed
Fixes if statement
1 parent 1a9dadb commit 1b5b146

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/services/navigationBar.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ namespace ts.NavigationBar {
156156
case SyntaxKind.ClassDeclaration:
157157
topLevelNodes.push(node);
158158
forEach((<ClassDeclaration>node).members, (node) => {
159-
if (node.kind === SyntaxKind.MethodDeclaration ||
160-
node.kind === SyntaxKind.Constructor) {
159+
if (node.kind === SyntaxKind.MethodDeclaration || node.kind === SyntaxKind.Constructor) {
161160
if ((<MethodDeclaration>node).body) {
162161
addTopLevelNodes((<Block>(<MethodDeclaration>node).body).statements, topLevelNodes);
163162
}

0 commit comments

Comments
 (0)