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
I'm open to implementing this, but I think I tried once already and ended up flailing. You might be better off biting the bullet and enclosing your type unions in parentheses, as in the second example.
Wouldn't be too difficult to do a global search & replace for future releases, but there still remains the concern of generating documentation for releases that have already been published. For this, there would need to be some sort of preprocessing layer in order to correctly generate the markdown for legacy releases.
Lodash is looking into using jsdoc and we're running into issues
The type-expression parser doesn't handle nested type unions unless all of the type unions are enclosed in parentheses. So for example this fails:
but this is ok
The text was updated successfully, but these errors were encountered: