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

react-kit: TS type error in withDeafults on TS 3.3.3 #118

Open
sutarmin opened this issue Mar 15, 2019 · 1 comment
Open

react-kit: TS type error in withDeafults on TS 3.3.3 #118

sutarmin opened this issue Mar 15, 2019 · 1 comment

Comments

@sutarmin
Copy link
Contributor

After trying to update TS to 3.3.3 withDefaults implementation contains following type error:

image

I have no idea why TS complaining, types look proper for each other.
Any ideas?

@sutarmin
Copy link
Contributor Author

This is not easy to reproduce in TS playground because ComponentType is involved. Therefore I attached only screenshot with error :)

If someone has time to reproduce this in playground with emulating ComponentType with something simpler, it would be cool 😎

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

No branches or pull requests

1 participant