Skip to content

Commit a595502

Browse files
Respond to CR feedback.
1 parent c61be11 commit a595502

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/services/services.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2664,11 +2664,9 @@ module ts {
26642664
function tryPushAccessorKeyword(accessorSymbol: Symbol, accessorKind: SyntaxKind): void {
26652665
var accessor = getDeclarationOfKind(accessorSymbol, accessorKind);
26662666

2667-
if (!accessor) {
2668-
return;
2667+
if (accessor) {
2668+
forEach(accessor.getChildren(), child => pushKeywordIf(keywords, child, SyntaxKind.GetKeyword, SyntaxKind.SetKeyword));
26692669
}
2670-
2671-
forEach(accessor.getChildren(), child => pushKeywordIf(keywords, child, SyntaxKind.GetKeyword, SyntaxKind.SetKeyword));
26722670
}
26732671
}
26742672

0 commit comments

Comments
 (0)