-
Notifications
You must be signed in to change notification settings - Fork 712
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
Please support @template alias for @typeparam #860
Please support @template alias for @typeparam #860
Comments
Thanks for reporting @soul-codes. This is a good idea, however I would like to wait for Microsoft to provide a little more direction before moving forward on this. 👍 |
While this issue remains open, what is the correct way to document generics? |
For now, the |
TSDoc has decided to officially support tag synonyms, so TypeDoc should also support them, PR welcome to add support for |
Support for |
First off, thank you so much for TypeDoc. I can imagine how bewildering TypeScript doc generation can be especially in the light of the recent advanced types. I really hope that this is a project that will get continual support.
VSCode supports
@template
to annotate TypeScript generic parameter. Not only it gets properly highlighted in the IDE, VSCode lets you also refactor the generic parameter name with their F2 command and both the name on the comment and the in-code references change.Seeing that VSCode is Microsoft's and so is TypeScript, it would be good if TypeDoc would follow suit and support
@template
in addition to@typeparam
, so that we can benefit both from VSCode's refactor capabilities and consistent document generation from TypeDoc.The text was updated successfully, but these errors were encountered: