Skip to content

Commit

Permalink
Add @internal as a synonym for @hidden
Browse files Browse the repository at this point in the history
Closes #364
  • Loading branch information
Gerrit0 committed Oct 13, 2019
1 parent 695d996 commit 149f3bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/converter/plugins/CommentPlugin.ts
Expand Up @@ -110,7 +110,10 @@ export class CommentPlugin extends ConverterComponent {
CommentPlugin.removeTags(comment, 'event');
}

if (comment.hasTag('hidden') || comment.hasTag('ignore')) {
if (comment.hasTag('hidden')
|| comment.hasTag('ignore')
|| (comment.hasTag('internal') && this.application.options.getCompilerOptions().stripInternal)
) {
if (!this.hidden) {
this.hidden = [];
}
Expand Down

0 comments on commit 149f3bd

Please sign in to comment.