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
The type displayed in the completion suggestion is always the declared type whereas the hover text shows the narrowed type. This is the intended behavior.
Would it be possible or an idea to show the narrowed type as well? I for one don't usually use hover while writing and I could imaging others doing the same. Especially since the completion list does take the narrowed type into account (which is what I would expect).
Environment data
Actual behaviour
The type information differs between tooltip and hover. This issue might be linked to #562.
Expected/Suggested behaviour
The hover box should display the narrowed type.
Code Snippet / Additional information
The text was updated successfully, but these errors were encountered: