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
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.
The text was updated successfully, but these errors were encountered:
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
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 forRequestHandler
. You can view the type in the TS block but not the JS block when hovering over it.The text was updated successfully, but these errors were encountered: