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

fix(types): use VNodeChild type from vue to avoid breakage #2237

Merged
merged 1 commit into from Nov 9, 2023

Commits on Nov 9, 2023

  1. fix(types): use VNodeChild type from vue to avoid breakage

    This fixes the test failure in vuejs#2233
    
    Vue 3.3.8 added a new type in the `VNodeChildAtom` union type:
    vuejs/core@405f345#diff-9b2ba253038f7b71dbbbcb545e028d2d51d27d88b041b918c9eb102a83fef189R117
    causing incompatiblity with the type defined in this repository.
    
    By using types exported from the `vue` package instead of defining our
    own, we can avoid similar breakges in the future.
    
    `VNodeChild` type has been available since 3.0.0-beta.1.
    sodatea committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    fdb7278 View commit details
    Browse the repository at this point in the history