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

Make subtyping in uncurried mode work past type definitions. #6086

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

cristianoc
Copy link
Collaborator

Subtyping from uncurried to curried functions was not working when the expected curried function was under a type definition. This would give type errors on components that take a component type as prop.

@cristianoc cristianoc changed the title Make suntyping in uncurried mode work past type definitions. Make subtyping in uncurried mode work past type definitions. Mar 20, 2023
@cristianoc cristianoc requested a review from cknitt March 20, 2023 08:32
Subtyping from uncurried to curried functions was not working when the expected curried function was under a type definition.
This would give type errors on components that take a component type as prop.
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

Successfully merging this pull request may close these issues.

1 participant