Skip to content

In 0.31.1, when I wanted to export a type in a component, I had to put it in the header #901

Closed
@lykl

Description

@lykl

If I write this, I get an error, but if I put it in the header, it says changeLoading is undefined, and if I put changeLoading in the header, I get an error, which makes me very frustrated

export interface ModalExpose {
  changeLoading: typeof changeLoading
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions