example of interface popup not showing any methods
example of type popup correctly showing methods
interface SomeInterface {
someMethod: string
}
let test: SomeInterface = {
};
When I create any interface in VScode, there is no preview of any methods within the interface.
Extra information:
When I use a type declaration, it works as expected.
I am aware of (and agree with) the behavior described here, however, this does not seem to work for me.
Things I've tried
- Create a jsdoc description above the method (did not display the description or the method).
Current workarounds
- hold
altto preview full declaration (this is not ideal because it does not work with thectrl-k-ihotkey that displays the popup without having to use the mouse). ctrl-spacewhen constructing object to activate IntelliSense suggestions.- use
peekto jump to the interface declaration.
Any explanation or fix would be great thanks!