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(stubs): avoid warning on normalized props with Vue v3.4.22 #2413

Merged
merged 1 commit into from Apr 16, 2024

Commits on Apr 16, 2024

  1. fix(stubs): avoid warning on normalized props with Vue v3.4.22

    Fixes vuejs#2411
    
    We can "trick" the warning introduced in Vue v3.4.22 (See vuejs/core@7ccd453)
    by using an array of strings instead of a string (as the new check allows functions and arrays, but not strings).
    This does not affect the rendering of the stub, and still displays `[Function]`, so it should not impact the existing tests.
    cexbrayat committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    a2c491b View commit details
    Browse the repository at this point in the history