Skip to content

Commit 85d32d2

Browse files
committed
That's why
1 parent bfa9dbd commit 85d32d2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib/converter/plugins/CommentPlugin.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const NEVER_RENDERED = [
5252
* - Handle visibility flags (`@private`, `@protected`. `@public`)
5353
* - Handle module renames (`@module`)
5454
* - Remove excluded tags & comment discovery tags (`@module`, `@packageDocumentation`)
55-
* - Copy comments for type parameters from the parent container
55+
* - Copy comments for type parameters from the parent container (for classes/interfaces)
5656
*
5757
* Resolve begin:
5858
* - Remove hidden reflections
@@ -61,7 +61,7 @@ const NEVER_RENDERED = [
6161
* - Apply `@label` tag
6262
* - Copy comments on signature containers to the signature if signatures don't already have a comment
6363
* and then remove the comment on the container.
64-
* - Copy comments from signatures to parameters and type parameters (again? why?)
64+
* - Copy comments to parameters and type parameters (for signatures)
6565
* - Apply `@group` and `@category` tags
6666
*
6767
* Resolve end:
@@ -185,7 +185,6 @@ export class CommentPlugin extends ConverterComponent {
185185
if (!tag) {
186186
tag = comment.getIdentifiedTag(reflection.name, "@param");
187187
}
188-
189188
if (tag) {
190189
reflection.comment = new Comment(tag.content);
191190
removeIfPresent(comment.blockTags, tag);

0 commit comments

Comments
 (0)