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-redux] Should redux's Dispatch be covariant in type #2279
Comments
cc @villesau |
AndrewSouthpaw
changed the title
Should redux's Dispatch be covariant in type
[react-redux] Should redux's Dispatch be covariant in type
May 31, 2018
Still relevant, because of deprecation warning of utility class |
To be honest, I'm not sure what |
Where is this happening? I'm not seeing it in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current definition is
Would this be better as
It'd still allow for tagged literals
But also allow me to mark the
type
as read-only:Which I couldn't do with the current definition. I don't know the answer, which is why I'm filing this as an issue instead of a PR.
The text was updated successfully, but these errors were encountered: