Skip to content
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

Types do not appear on hover for JSDoc annotated items #999

Open
eltigerchino opened this issue Dec 12, 2024 · 0 comments
Open

Types do not appear on hover for JSDoc annotated items #999

eltigerchino opened this issue Dec 12, 2024 · 0 comments

Comments

@eltigerchino
Copy link
Member

eltigerchino commented Dec 12, 2024

When viewing a JS code example, the types on hover are missing if the function is JSDoc annotated. This only happens in the JS view.
e.g., https://svelte.dev/docs/kit/routing#server hover over { url } in the function parameters while viewing the JS block. It's different from the TS block which shows the full type. Similarly for RequestHandler. You can view the type in the TS block but not the JS block when hovering over it.

url type missing

@eltigerchino eltigerchino changed the title Types do not appear on hover for JSDoc annotated functions Types do not appear on hover for JSDoc annotated items Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant