Skip to content

Hover over React component declaration in .resi file does not work #153

Closed
@cknitt

Description

@cknitt

If I hover over a React component declaration (make function annotated with @react.component) in a .resi file, no tooltip/type information is shown. For other functions in a .resi, it works fine.

Example .resi:

// No type information on hover
@react.component
let make: unit => React.element

// Works fine
let someOtherFunc: unit => React.element

Within a .res, it does work fine, e.g.:

Bildschirmfoto 2021-04-26 um 19 13 43

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions