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

Expand JSDoc template generation locations (to 'master') #4978

Merged
merged 8 commits into from
Sep 25, 2015

Conversation

DanielRosenwasser
Copy link
Member

#4962 but in master.

This pull request addresses portions of #4447.

We currently now cover

  • methods
  • classes
  • class constructors
  • namespaces
  • variables

@DanielRosenwasser DanielRosenwasser changed the title Expand doc template coverage Expand JSDoc template generation locations (to 'master') Sep 25, 2015
return undefined;
}

let parameters = containingFunction.parameters;
let parameters = isFunctionLike(commentOwner) ? commentOwner.parameters : emptyArray;
Copy link
Contributor

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) { };

Copy link
Member Author

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.

DanielRosenwasser added a commit that referenced this pull request Sep 25, 2015
Expand JSDoc template generation locations (to 'master')
@DanielRosenwasser DanielRosenwasser merged commit 0ab9536 into master Sep 25, 2015
@mhegazy mhegazy deleted the expandDocTemplateCoverage branch November 2, 2017 21:05
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants