Skip to content

Expose typings for Plugins #269

@posva

Description

@posva

I think it would be helpful to expose the Instance type so plugins can type the argument (https://vue-test-utils.vuejs.org/v2/guide/plugins.html#writing-a-plugin) as well as adapting the install function to infer the options parameter:

    install(handler: (instance: Instance) => Record<string, any>, options?: Record<string, any>): void;

Similar to vuejs/core#2758

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions