Skip to content
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

Does not recognize callbacks, and adds @return statement even when no return #11

Open
whitehat007 opened this issue Feb 25, 2016 · 1 comment

Comments

@whitehat007
Copy link

image

Ideally, the jsdoc block for this should be:

/**
 * functionName - description
 *
 * @param  {type} payload  description
 * @param  {type} err      description
 * @callback  {type}       description
 */
@tgandrews
Copy link
Owner

Hmmm, I'm not sure about the @return request. But there may be something we can do for the callback if the param name is callback or cb?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants