Skip to content

Please support @template alias for @typeparam #860

@soul-codes

Description

@soul-codes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributions are especially encouraged

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions