Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97327

Inspect nested TypeScript interfaces & types in VSCode

$
0
0

When using VSCode with TypeScript I find myself constantly hovering over functions or objects to inspect their type.

Often, the types and interfaces for these objects rely on multiple other interfaces and types. So hovering doesn't give much info.

To inspect the type I have to go manually into e.g. node modules to find the type declaration and inspect it there.

Is there a way to inspect nested types easily in VSCode?

Here is an example:

enter image description here

I'd love an easy way to inspect the interface that is React.FunctionComponent.


Viewing all articles
Browse latest Browse all 97327

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>