Skip to content

Commit

Permalink
fix: --excludeNotDocumented didn't remove reflections
Browse files Browse the repository at this point in the history
Closes #1435
  • Loading branch information
Gerrit0 committed Dec 29, 2020
1 parent e41b827 commit 5ebbd0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1,037 deletions.
2 changes: 1 addition & 1 deletion src/lib/converter/converter.ts
Expand Up @@ -346,7 +346,7 @@ export class Converter extends ChildableComponent<
this.excludeNotDocumented &&
// If the enum is included, we should include members even if not documented.
!hasFlag(symbol.flags, ts.SymbolFlags.EnumMember) &&
!symbol.getDocumentationComment(checker)
symbol.getDocumentationComment(checker).length === 0
) {
return true;
}
Expand Down

0 comments on commit 5ebbd0f

Please sign in to comment.