File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -7025,9 +7025,10 @@ namespace ts {
70257025 }
70267026
70277027 // TODO: add support for:
7028- // - methods
7029- // - constructors
7030- // - class decls
7028+ // - enums/enum members
7029+ // - interfaces
7030+ // - property declarations
7031+ // - potentially property assignments
70317032 let commentOwner : Node ;
70327033 findOwner: for ( commentOwner = tokenAtPos ; commentOwner ; commentOwner = commentOwner . parent ) {
70337034 switch ( commentOwner . kind ) {
@@ -7041,7 +7042,7 @@ namespace ts {
70417042 return undefined ;
70427043 case SyntaxKind . ModuleDeclaration :
70437044 // We don't want to give back a JSDoc for the 'b' in 'module a.b'.
7044- if ( false && commentOwner . parent . kind === SyntaxKind . ModuleDeclaration ) {
7045+ if ( commentOwner . parent . kind === SyntaxKind . ModuleDeclaration ) {
70457046 return undefined ;
70467047 }
70477048 break findOwner;
You can’t perform that action at this time.
0 commit comments