Skip to content

@template is not recognized as JSDoc token #9809

@unional

Description

@unional

tsc: 1.8.9, 2.0.0, and nightly

/**
 * Do some foo things
 * @template T A Foolish template
 */
function foo<T>(): void {
}

foo()

image

The @template should be recognized and not consider as part of summary/description.

Ref:
#1178

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions