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

Got error on HelloComponent.vue #79

Open
kueiapp opened this issue Jun 16, 2019 · 0 comments
Open

Got error on HelloComponent.vue #79

kueiapp opened this issue Jun 16, 2019 · 0 comments

Comments

@kueiapp
Copy link

kueiapp commented Jun 16, 2019

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'.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant