Typescript hover hints show wrong types #48785
Labels
typescript
Typescript support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Issue Type: Bug
I managed to confuse the ts language type hints, when you hover over the variables it shows a generic type, but forcing a type error on the same variable shows the correct type on the error.
This caused a couple hours of me looking over complex types trying to figure out why it showed me a variable as a generic one.
Here's the code that reproduces the error:
using these deps for example:
VS Code version: Code 1.22.2 (3aeede7, 2018-04-12T16:34:44.222Z)
OS version: Linux x64 4.13.0-37-generic
System Info
Extensions (9)
(2 theme extensions excluded)
The text was updated successfully, but these errors were encountered: