Skip to content

Narrow Vue component type #141

Open
Open
@FloEdelmann

Description

@FloEdelmann

The return type of the vueComponentProp() function is object | string. It has to be so broad to allow Vue 2 and Vue 3 component options or instances. If you are able to narrow the type without pulling in heavy dependencies, please comment here or submit a pull request!

See https://github.com/FloEdelmann/vue-ts-types/blob/main/README.md#vuecomponentpropvalidator-validator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthacktoberfestGood for Hacktoberfest participantshelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions