Skip to content

Intellisense shows full internals of a type declaration but not of an interface declaration on hover #32616

Closed
@po35

Description

@po35
  1. Declare an interface
  2. Consume that interface somewhere
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions