unused type parameter message is wrong for jsdoc @template
#32843
Labels
Bug
A bug in TypeScript
Domain: JSDoc
Relates to JSDoc parsing and type generation
Domain: Quick Fixes
Editor-provided fixes, often called code actions.
Good First Issue
Well scoped, documented and has the green light
Milestone
Expected behavior:
Message: "K is declared but its value is never read"
Actual behavior:
Message: "All type parameters are unused."
Note that the message is the same if
K
comes second. The code in checkUnusedTypeParameters looks suspicious where it tries to handle template tags, so it's probably just wrong.The text was updated successfully, but these errors were encountered: