Skip to content

Commit 31aa1d7

Browse files
committed
filter private items
1 parent 39e46ed commit 31aa1d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/properties.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export function returns({ item }: DocItemContext): Param[] | undefined {
107107

108108
export function items({ item }: DocItemContext): DocItem[] | undefined {
109109
return (item.nodeType === 'ContractDefinition')
110-
? item.nodes.filter(isNodeType(docItemTypes))
110+
? item.nodes.filter(isNodeType(docItemTypes)).filter(n => !('visibility' in n) || n.visibility !== 'private')
111111
: undefined;
112112
}
113113

0 commit comments

Comments
 (0)