Skip to content

v7.2.0 issue: Argument of type 'xxx' is not assignable to parameter of type 'Vue'. #385

@song52wow

Description

@song52wow

I upgrade the version to 7.2.0 after, some vue file will report error about:

Argument of type 'xxx' is not assignable to parameter of type 'Vue'.

or

Argument of type 'typeof xxx' is not assignable to parameter of type 'VueClass'.
Type 'typeof xxx' is not assignable to type 'new (...args: any[]) => Vue'.
Type 'xxx' is not assignable to type 'Vue'.
Types of property 'data' are incompatible.
Type 'Ixxx' is not assignable to type '() => object'.
Type 'Ixxx' provides no match for the signature '(): object'.

as shown below:

image

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