Skip to content

/** Single-line jsdocs not supported */ #20

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

Closed
marcello3d opened this issue Aug 31, 2015 · 2 comments
Closed

/** Single-line jsdocs not supported */ #20

marcello3d opened this issue Aug 31, 2015 · 2 comments

Comments

@marcello3d
Copy link

If I use the concise jsdoc syntax (all on one line):

/** description of prop */
foo: React.PropTypes.any

I end up with "description":"" in my output.

Changing it to

/** 
 * description of prop 
 */

or even

/** 
 * description of prop */

works correctly ("description":"description of prop").

@fkling
Copy link
Member

fkling commented Sep 1, 2015

Yes, it currently expects a line break after /**. I guess we could change that :)

@fkling fkling closed this as completed in d3a3f3f Sep 1, 2015
@fkling
Copy link
Member

fkling commented Sep 1, 2015

Supported as of v2.1.0.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants