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: widen ComponentProps constraint to accept more component shapes #12666

Merged
merged 1 commit into from
Jul 30, 2024

Commits on Jul 30, 2024

  1. fix: widen ComponentProps constraint to accept more component shapes

    language tools has to type its own shape for backwards compatibility, and it currently doesn't include the `$on` and `$set` methods, which means without widening the type as done here you would get a "this shape is not accepted" type error when passing it to `ComponentProps`
    
    closes #12627
    dummdidumm committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    ca90a7a View commit details
    Browse the repository at this point in the history