Skip to content

Issue with type declaration when using more than 5 mixins #429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lk77 opened this issue Jun 17, 2020 · 1 comment · Fixed by #433
Closed

Issue with type declaration when using more than 5 mixins #429

lk77 opened this issue Jun 17, 2020 · 1 comment · Fixed by #433

Comments

@lk77
Copy link

lk77 commented Jun 17, 2020

Hello,

when using more than 5 mixin, type declaration is incorrect :

declare const Component_base: import("vue-class-component/lib/declarations").VueClass<unkown>;

it should be

declare const Component_base: import("vue-class-component/lib/declarations").VueClass<A & B & C & D & E & F>;

i was force to do :

extends mixins(A, B, C, D, mixins(E, F))

thanks

@grreeenn
Copy link

stumbled upon it too now, nice workaround @lk77 :)

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

Successfully merging a pull request may close this issue.

3 participants