Skip to content

Expand type aliases one level when hovering #557

Closed
@zth

Description

@zth

Currently, when hovering something where the type is a reference to some other type, that other type is not expanded. Example:

SomeModule.Types.searchInput
type searchInput = AnotherModule.searchInput

We should expand that type reference one level (?), so that the resulting hover instead would be something along the lines of:

AnotherModule.searchInput
type searchInput = {
  someField: int
}

type searchInput = AnotherModule.searchInput

Not 100% of how the representation should be, but we should include the full aliased type at least.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions