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
MapDispatchToProps shorthand #205
Comments
Hey @Vanuan use this:
|
But that's not a shorthand syntax |
Shorthand syntax is this:
|
Is there any reason you want to be able to use a return value of the dispatch call? e.g.: This looks like a smell. But I think return value can be safely ignored. So |
I've created a fix for typescript-fsa: Maybe you can use the same approach |
Is there a solution for mapDispatchToProps shorthand syntax?
I'm getting this error:
Is there a way to fix it without changing prop types of MyComponent?
The text was updated successfully, but these errors were encountered: