Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Got error on HelloComponent.vue #79

Open

Description

@kueiapp

Got the error message when building with webpack.
However, it still can run perfectly.

error TS2345: Argument of type 'typeof HelloDecorator' is not assignable to parameter of type 'VueClass<Vue>'.
  Type 'typeof HelloDecorator' is not assignable to type 'new (...args: any[]) => Vue'.
    Type 'HelloDecorator' is not assignable to type 'Vue'.
      Types of property '$options' are incompatible.
        Type 'ComponentOptions<HelloDecorator, DefaultData<HelloDecorator>, DefaultMethods<HelloDecorator>, Def...' is not assignable to type 'ComponentOptions<Vue, DefaultData<Vue>, DefaultMethods<Vue>, DefaultComputed, PropsDefinition<Rec...'.
          Type 'HelloDecorator' is not assignable to type 'Vue'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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