-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Expand JSDoc template generation locations (to 'master') #4978
Conversation
Also updated TODO
return undefined; | ||
} | ||
|
||
let parameters = containingFunction.parameters; | ||
let parameters = isFunctionLike(commentOwner) ? commentOwner.parameters : emptyArray; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the commentOwner
is a VariableStatement
that contains a function expression, shouldn't we provide parameters too? E.g.
var foo = function (p0, p1, p2) { };
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but I think we'll do that in a separate pull request.
Expand JSDoc template generation locations (to 'master')
#4962 but in
master
.This pull request addresses portions of #4447.
We currently now cover