Overloads do not emit JSDoc on non-implementation signatures #27981
Labels
Domain: Comment Emit
The issue relates to the emission of comments when compiling
Experience Enhancement
Noncontroversial enhancements
Suggestion
An idea for TypeScript
Milestone
TypeScript Version: 3.2.0-dev.201xxxxx
Search Terms:
Code
Expected behavior:
all will keep
Actual behavior:
a is lost
Playground Link:
http://www.typescriptlang.org/play/index.html#src=%2F**%0D%0A%20*%20this%20will%20lost%0D%0A%20*%2F%0D%0Afunction%20a()%0D%0Afunction%20a()%20%7B%20%7D%0D%0A%0D%0A%2F**%0D%0A%20*%20this%20will%20keep%0D%0A%20*%2F%0D%0Afunction%20b()%20%7B%20%7D%0D%0A%0D%0Afunction%20c()%0D%0A%2F**%0D%0A%20*%20this%20will%20keep%2C%20but%20i%20don%27t%20think%20this%20is%20good%20way%0D%0A%20*%2F%0D%0Afunction%20c()%20%7B%20%7D
Related Issues:
The text was updated successfully, but these errors were encountered: