#See computed type in VSC?
16 messages · Page 1 of 1 (latest)
this is kind of intended, interfaces don't get inlined
there's an extension called ts-type-expand, might want to look into that (though i usually keep it disabled since it can take a lot of time to process types sometimes)
Thanks I'll have a look
!resolved
@tawdry agate If you hold ALT (or some modifier key, may deepend on settings/OS), you'll get more info on hover
I've tried already but on VSC without extensions it doesn't show those info. Anyway the suggested extension worked for me :)
clicking that little + on the left side of the tooltip will also expand it. the key Retsam19 mentioned is just a shortcut for that
oh but maybe not when you hover the interface definition itself like in your screenshot, only at usage sites
also as mentioned this is specific to interface. if you don't like it you can use type aliases instead
hm i tried that and it showed the definition, rather than all its fields, so i assumed they'd already expanded that menu
i've never noticed but it's weirdly different depending on whether your cursor is pointing at something in type-space vs value-space
ah, i see