-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Add JSDoc's @inheritDoc Support for Static Class Members for TypeScript #23215
Comments
PRs welcomed. |
Also pinging @sjbarag in case he would like to pick this one up. |
Thanks for the mention @mhegazy! I should be able to get to this in the next week or so 🙂 @CatGuardian this is a great description — thanks for the detailed report ❤️ |
Some notes, mostly for myself but beneficial for anyone playing along at home:
As a type-checker n00b, it seems like If anyone has any suggestions, I'd love to hear them! It's quite likely that I'm looking in the exact opposite direction I should be 🤷♂️ |
@sjbarag Just dropping by to ask how far the implementation of this feature has come. In my current project I noticed that the parent documentation isn't being inherited and I'd really like to see this feature. |
@nearautomata I'm sorry about the lack of updates! A combination of work, side-projects, and general life stuff stole my attention away from this investigation. Things have settled back down, so I'm going to take another crack at it. If I make any progress I'll update this issue 😃 |
Any workaround for this? |
TypeScript Version: 2.7.2
Search Terms:
IntelliSense
static
subclass
JSDoc
Class
Members
inheritDoc
Code
Expected behavior:
For
someProperty
I expect the JSDocs describes forBaseClass.someProperty
to show up exactly forSubClass.someProperty
For
doSomethingUseful(...)
I expect the documentation that was provided forBaseClass.doSomethingUseful
to show up forSubClass.doSomethingUseful
. I also expect the extra documentation (the parameters in this case) forSubClass.doSomethingUseful
to also show up in the intellisense documentation forSubClass.doSomethingUseful
.Actual behavior:
The actual behavior is that the static properties of
SubClass
is not getting inherited docs fromBaseClass
Related Issues:
#8912
#7084
The text was updated successfully, but these errors were encountered: