You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'.
Got the error message when building with webpack.
However, it still can run perfectly.