-
Notifications
You must be signed in to change notification settings - Fork 12.8k
JS Doc comment not shown in signature help when overload
tag exists
#55939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking βSign up for GitHubβ, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
To be preserved where? |
That's a great question. The JSDoc comments ( But I suppose more accurately, I would like for the documentation information to be preserved in VS Code? IDE (VS Code) Info for
|
@overload
Tagoverload
tag exists
Uh oh!
There was an error while loading. Please reload this page.
π Search Terms
overload jsdoc
π Version & Regression Information
Because
@overload
was introduced in TS 5.0, I don't think this is a regression. It may just be something that was missed when overloads were introduced.β― Playground Link
π» Code
Also See
π Actual behavior
The types resulting from the JSDocs are correct, but the comments are lost. This same issue occurs for overloaded constructors.
π Expected behavior
As is the case for regular overloads in TypeScript (example), I would expect my JSDoc comments that use the
@overload
tag to be preserved.The text was updated successfully, but these errors were encountered: