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): do not erase component type constraint #410

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

mcous
Copy link
Collaborator

@mcous mcous commented Nov 19, 2024

Continuing type annotation fixes from #409 - the existing built types erase the Component type constraint on the first argument to render, causing fun issues - including but not limited to @typescript-eslint errors.

This PR fixes the issue and adds a failing type test

@mcous mcous merged commit 90ba912 into main Nov 19, 2024
28 checks passed
@mcous mcous deleted the fix/types-continued branch November 19, 2024 17:20
Copy link

🎉 This PR is included in version 5.2.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

1 participant