You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current version of solidity-docgen exposes ast.parameters as args but doesn't expose return values. It's important because natspec.returns only shows return args that were documented which isn't always the case.
It may be worthwhile to expose this.astNode itself so users can always access what they need from solc output.
The text was updated successfully, but these errors were encountered:
Pzixel
changed the title
Add returnParameters alongside with parameters
Add returnParameters in SourceContractItem alongside with parameters
Jun 10, 2021
astNode is a private TypeScript variable but you should still be able to access it in your Handlebars templates. Can you try that and let me know if it works?
Current version of
solidity-docgen
exposesast.parameters
asargs
but doesn't expose return values. It's important becausenatspec.returns
only shows return args that were documented which isn't always the case.It may be worthwhile to expose
this.astNode
itself so users can always access what they need from solc output.The text was updated successfully, but these errors were encountered: