-
Notifications
You must be signed in to change notification settings - Fork 12
Full type definition #213
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
Comments
Maybe try with https://www.typescriptlang.org/tsconfig#noErrorTruncation enabled in Note that I've seen reports of this option making type checking a lot slower so probably best to only use it when debugging. |
Unfortunately, that didn't work. I also tried with both |
Can you provide code sample or project that reproduces? Note that this is not something that this server would have to support anyway. It's all coming from TypeScript itself. Personally I've used this snippet that I found on StackOverflow somewhere for cases like this: https://gist.github.com/rchl/9ca0a2bdc95f2c36c4d590572a4d038c (you'd need to modify the code of the type of course). |
It seems to happen with inferred types: Not an ideal solution but I solved it by changing Thanks for the help! |
When inspecting a type with a long definition, the tooltip triggered by hovering shows basically only a preview of it.
In my case, "Go to type definition" is not very helpful since my type is an union of other unions which definitions could reside in multiple files.
Is there a way to enable or get (even using other method) the full details of the resolved type? That is, showing the whole list of fields instead of showing "..." or "... n more..."
Thanks in advance!
The text was updated successfully, but these errors were encountered: