You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hover ignores the JSDoc written on an import f = a.f alias #64655
jsdoc alias hover, export import jsdoc, quick info alias documentation
🕗 Version & Regression Information
Present in every build of the native port that can show JSDoc on hover, from 7.0.0-dev.20250607.1 (the first one that does) through 7.0.2 and 7.1.0-dev.20261005.1. 6.0.3 shows the alias's comment.
⏯ Playground Link
No response
💻 Code
declarenamespacea{/** on the declaration */exportfunctionf(): void;}declarenamespaceb{/** on the alias */exportimportf=a.f;}b.f;
Put that in a .ts file.
Hover f on the last line.
Type b. on a new line and look at f in the completion list.
🙁 Actual behavior
Both show "on the declaration". With the comment removed from a.f, both show nothing.
🙂 Expected behavior
Both show "on the alias", as 6.0.3 does. The comment on the declaration should only be used when the alias has none.
Activity