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

Why Dispatch<S>? #1840

Closed
unional opened this issue Jul 6, 2016 · 2 comments
Closed

Why Dispatch<S>? #1840

unional opened this issue Jul 6, 2016 · 2 comments

Comments

@unional
Copy link

unional commented Jul 6, 2016

https://github.com/reactjs/redux/blob/master/index.d.ts#L96

It doesn't seems to use type S.

@fnatte
Copy link

fnatte commented Jul 12, 2016

This was discussed here #1537 (diff), see Igorbek's answer.

@unional
Copy link
Author

unional commented Jul 12, 2016

Thanks.

I have to masked it for my usage. I'm creating a variant that is IoC in nature. In my case the store's state is not typed.

@unional unional closed this as completed Jul 12, 2016
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

2 participants