Skip to content

Commit

Permalink
Fix private filter
Browse files Browse the repository at this point in the history
Resolves #1992
  • Loading branch information
Gerrit0 committed Jul 9, 2022
1 parent 5060fe2 commit e4fbb1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Unreleased

### Bug Fixes

- The private member visibility option will now be respected in generated sites, #1992.

## v0.23.6 (2022-07-08)

### Features
Expand Down
4 changes: 4 additions & 0 deletions src/lib/output/themes/default/DefaultTheme.tsx
Expand Up @@ -276,6 +276,10 @@ export class DefaultTheme extends Theme {
if (reflection.flags.isProtected) {
classes.push("tsd-is-protected");
}
} else if (key === "private") {
if (reflection.flags.isPrivate) {
classes.push("tsd-is-private");
}
} else if (key === "external") {
if (reflection.flags.isExternal) {
classes.push("tsd-is-external");
Expand Down

0 comments on commit e4fbb1c

Please sign in to comment.