We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39e46ed commit 31aa1d7Copy full SHA for 31aa1d7
src/common/properties.ts
@@ -107,7 +107,7 @@ export function returns({ item }: DocItemContext): Param[] | undefined {
107
108
export function items({ item }: DocItemContext): DocItem[] | undefined {
109
return (item.nodeType === 'ContractDefinition')
110
- ? item.nodes.filter(isNodeType(docItemTypes))
+ ? item.nodes.filter(isNodeType(docItemTypes)).filter(n => !('visibility' in n) || n.visibility !== 'private')
111
: undefined;
112
}
113
0 commit comments