File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -6441,13 +6441,6 @@ namespace ts {
6441
6441
indent += asterisk . length ;
6442
6442
}
6443
6443
break ;
6444
- case SyntaxKind . Identifier :
6445
- // Anything else is doc comment text. We just save it. Because it
6446
- // wasn't a tag, we can no longer parse a tag on this line until we hit the next
6447
- // line break.
6448
- pushComment ( scanner . getTokenText ( ) ) ;
6449
- state = JSDocState . SavingComments ;
6450
- break ;
6451
6444
case SyntaxKind . WhitespaceTrivia :
6452
6445
// only collect whitespace if we're already saving comments or have just crossed the comment indent margin
6453
6446
const whitespace = scanner . getTokenText ( ) ;
@@ -6462,7 +6455,9 @@ namespace ts {
6462
6455
case SyntaxKind . EndOfFileToken :
6463
6456
break loop;
6464
6457
default :
6465
- // anything other than whitespace or asterisk at the beginning of the line starts the comment text
6458
+ // Anything else is doc comment text. We just save it. Because it
6459
+ // wasn't a tag, we can no longer parse a tag on this line until we hit the next
6460
+ // line break.
6466
6461
state = JSDocState . SavingComments ;
6467
6462
pushComment ( scanner . getTokenText ( ) ) ;
6468
6463
break ;
You can’t perform that action at this time.
0 commit comments