Skip to content

Support property declarations in jsdoc template generation - #36658

Merged
Nathan Shively-Sanders (sandersn) merged 2 commits into
masterfrom
jsdoc-template-for-property-decl
Feb 6, 2020
Merged

Support property declarations in jsdoc template generation#36658
Nathan Shively-Sanders (sandersn) merged 2 commits into
masterfrom
jsdoc-template-for-property-decl

Conversation

@sandersn

Copy link
Copy Markdown
Member

JSDoc template generation now supports property declarations with function initialisers.

Fixes #28786

@sandersn

Copy link
Copy Markdown
Member Author

Ben Lichtman (@uniqueiniquity) Tagging you since github suggested you as a reviewer -- in case you care about this feature.

//// return p0;
//// };
//// /*1*/
//// bar = (p1) => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you also test the function expression case?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes!

@sandersn

Copy link
Copy Markdown
Member Author

Build failed because of space lint.

@sandersn

Copy link
Copy Markdown
Member Author

Relevant: Key to planet formation found in space lint:

https://www.space.com/3315-key-planet-formation-space-lint.html

@sandersn
Nathan Shively-Sanders (sandersn) deleted the jsdoc-template-for-property-decl branch February 6, 2020 22:39
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docCommentTemplate not returned for assigned method in class

4 participants