Microsoft/TypeScript
Vedi su GitHubJSDoc tags not parsed when a type may be present
Open
#62.244 aperta il 9 ago 2025
BugDomain: JSDocHelp Wanted
Metriche repository
- Star
- (48.455 star)
- Metriche merge PR
- (Merge medio 6g 17h) (9 PR mergiate in 30 g)
Descrizione
🔎 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