New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coalesce function **Returns** sections #2180
Comments
Any thoughts on this proposal? If compatibility with older sites is a concern, it can be activated with a configuration option. |
Labeled help wanted to indicate PRs will be gladly accepted, not something that I'm likely to have time to do anytime soon. |
Ok, I'll take a look and possibly prepare a PR. |
@futurGH, what do you think about this proposal, does it make any sense? |
Definitely makes sense, I'll see if I can take a stab at it before Gerrit0 gets to it 🙂 |
Gerrit0 said he will not have time for it anytime soon; I'd be happy to contribute to the project, but I'm not familiar with the internals, and, until I'll get there, your PR will be long ago merged. ;-) |
@futurGH explained me that, with the current implementation, the In this case probably the solution would be to parse |
Wow! Looking forward to testing the new release. Thank you! |
Search Terms
@returns
Problem
Functions are rendered with two distinct sections, the first with the content of the
@returns
tag, and the second with the actual TS type.Suggested Solution
Coalesce the two sections, and render the
@returns
content on the next line after the type.This would also be more consistent with the way parameters are rendered (a bulleted list followed by a paragraph with the description).
The text was updated successfully, but these errors were encountered: