Does anyone know why typescript type hints in vscode could be broken?
I'm in an electron app and for example when using await on promises, hovering over the variable shows it as a promise instead of the underlying type. Printing it out shows that it's not a promise?
11 Replies
same is happening with destructuring arrays, it's showing the array of return values as the type
restart the ts server (cmd+shift+p), see if that fixes it
that solves like 99% of typescript issues
have done that multiple times
still stuck
im assuming its some eslint issue maybe?
the project is cloned from a repo with heavy eslint stuff
maybe the target/libs on tsconfig file
I think these are far enough forward for promises
holy shit
that was the problem
the repo I cloned from didn't have it capitalized correctly
wtf š
thanks @Neto
WAIT
nvm
no that didn't
š©
š
gg
its over gg