Microsoft/TypeScript
GitHub ã§èŠãJSDoc tags not parsed when a type may be present
Open
#62,244 opened on 2025幎8æ9æ¥
BugDomain: JSDocHelp Wanted
Repository metrics
- Stars
- Â (48,455 stars)
- PR merge metrics
-  (å¹³åããŒãž 6d 17h) (30d ã§ 9 merged PRs)
説æ
ð Search Terms
jsdoc links missing in possible type position
ð Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about JSDoc
⯠Playground Link
ð» Code
class C {
}
/**
* @throws {@link C}
*/
function /**/CC() {
}
ð Actual behavior
TypeScript does not resolve {@link C}.
Hover on the playground shows:
@throws â {
@link â C}
ð Expected behavior
TypeScript should resolve {@link C}
Hover on the playground should show this (or even better rendered links like it does in vscode)
@throws â {@link C }
Additional information about the issue
Originally reported in https://github.com/TypeStrong/typedoc/issues/2993