When I create any interface in VS Code, there is no preview of any methods within the interface. When I use a type declaration, it works as expected.
interface SomeInterface {
someMethod: string
}
let test: SomeInterface = {
};


I am aware of (and agree with) the behavior described here, however, this does not seem to work for me.
I've tried creating a JSDoc description above the method (did not display the description or the method).
Current workarounds:
peek to jump to the interface declaration.VS Code now has a expandable hovers feature with "zoom in/out" capability, where the user can request a "zoom in" for the hover to provide something like more granular info / verbosity. See this maintainer comment. That has now been implemented by Pull Request Adding the possibility to enrich hovers with additional data #210472. Now the builtin TypeScript extension needs to make use of the feature. It now has in VS Code 1.96 with the typescript.experimental.expandableHover setting. See also TS PR #61492.
See also the related setting js/ts.hover.maximumLength.
You can get the properties listing (structural view as opposed to nominal view) if you hold ctrl/cmd while hovering over the interface name with your mouse. Note that it will only show properties defined on the interface and not including properties defined on interfaces that said interface extends. If you actually want to get the properties listing without holding ctrl/cmd, then read on...
This is a known "issue". VS Code's TypeScript support is built directly upon TypeScript itself. See the suggestion issue ticket on the TypeScript GitHub repo: Intellisense should show internals of an interface declaration on hover #38040. Here's what you can do in the meantime:
For your reference / learning purposes, I found that issue ticket by googling "github vscode issues hover typescript interface show properties".
Another related issue ticket: Be able to configure what quick info IntelliSense shows on hover (e.g. whether to expand) #56010.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With