Skip to content
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

Build with vue 3.2.34 #66

Closed
KaelWD opened this issue May 20, 2022 · 1 comment
Closed

Build with vue 3.2.34 #66

KaelWD opened this issue May 20, 2022 · 1 comment

Comments

@KaelWD
Copy link

KaelWD commented May 20, 2022

vuejs/core#5416 added two new arguments to the DefineComponent type, causing the emitted type from earlier versions to throw

node_modules/@vueuse/head/dist/index.d.ts:45:149 - error TS2344: Type 'VNodeProps & AllowedComponentProps & ComponentCustomProps' does not satisfy the constraint 'ComponentProvideOptions'.
  Type 'VNodeProps & AllowedComponentProps & ComponentCustomProps' is not assignable to type 'ObjectProvideOptions'.
    Index signature for type 'string' is missing in type 'VNodeProps & AllowedComponentProps & ComponentCustomProps'.

45 declare const Head: vue.DefineComponent<{}, () => null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
                                                                                                                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@KaelWD
Copy link
Author

KaelWD commented May 22, 2022

Fixed upstream by vuejs/core@8071ef4

@KaelWD KaelWD closed this as completed May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant