getdocs
getdocs copied to clipboard
Support documentation on destructuring definitions/assignments
Maybe? I don't think I've ever defined an exported item this way. But you could, and getdocs will currently explode if you try to document such a thing.
That could be very useful. The output format for named positional parameters wouldn't have to be all that different from named destructured parameters. Could offer a PR.
Ah, right, we're also dealing with function arguments, where destructuring will definitely come up.
Haha, it appears we were thinking of different things. New issue for this use case then?
export const forPythagoreals = ({a, b, c}) => a * a + b * b = c * c