Skip to content

Commit 149f3bd

Browse files
committed
Add @internal as a synonym for @hidden
Closes #364
1 parent 695d996 commit 149f3bd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lib/converter/plugins/CommentPlugin.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ export class CommentPlugin extends ConverterComponent {
110110
CommentPlugin.removeTags(comment, 'event');
111111
}
112112

113-
if (comment.hasTag('hidden') || comment.hasTag('ignore')) {
113+
if (comment.hasTag('hidden')
114+
|| comment.hasTag('ignore')
115+
|| (comment.hasTag('internal') && this.application.options.getCompilerOptions().stripInternal)
116+
) {
114117
if (!this.hidden) {
115118
this.hidden = [];
116119
}

0 commit comments

Comments
 (0)