Closed
Description
- Declare an interface
- Consume that interface somewhere
- Hover over where you consume it
=> Intellisense won't show any internals of that interface
Do 1, 2 and 3 with a type declaration and Intellisense shows all internals. Discussion on reddit: https://www.reddit.com/r/typescript/comments/cisi08/getting_intellisense_to_show_function_signatures/evejcy0/?context=3
Expected behavior:
Show all internals of any declaration on hover.
Actual behavior:
Just shows internals of type declarations.
Playground Link:
https://codesandbox.io/s/small-bird-l13fg?fontsize=14
Hover with your mouse over IDuck
and RealDuck
in the respective const
statement.