Skip to content

Conversation

@sandersn
Copy link
Member

JSDoc template generation now supports property declarations with function initialisers.

Fixes#28786

@sandersn
Copy link
MemberAuthor

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

//// return p0;
//// };
//// /*1*/
//// bar = (p1) =>{
Copy link
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
MemberAuthor

Choose a reason for hiding this comment

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

Yes!

@sandersn
Copy link
MemberAuthor

Build failed because of space lint.

@sandersn
Copy link
MemberAuthor

Relevant: Key to planet formation found in space lint:

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

@sandersnsandersn merged commit 2cc5856 into masterFeb 6, 2020
@sandersnsandersn deleted the jsdoc-template-for-property-decl branch February 6, 2020 22:39
@microsoftmicrosoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docCommentTemplate not returned for assigned method in class

5 participants

@sandersn@andrewbranch@uniqueiniquity@typescript-bot