Skip to content

Commit bd9b5cd

Browse files
fix(emptycomment): Remove empty comments on source reflections that are being merged, just in case.. not sure if this is even necessary!
1 parent cf0f7ad commit bd9b5cd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

plugin.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ export class ExternalModuleNamePlugin extends ConverterComponent {
8888
if (reflection.comment) {
8989
CommentPlugin.removeTags(reflection.comment, 'module');
9090
CommentPlugin.removeTags(reflection.comment, 'preferred');
91+
if (isEmptyComment(reflection.comment)) {
92+
delete reflection.comment;
93+
}
9194
}
9295
}
9396

0 commit comments

Comments
 (0)