Skip to content

Return type of HTMLElement is not correct #126

Open
@steverep

Description

@steverep

The return type for Wrap is incorrectly typed as HTMLElement. The function returns the class, i.e. the component constructor, and not an actual element, i.e. an instance of that constructor. The return type should be CustomElementConstructor or something more narrow.

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