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

use never instead of void for PayloadAction Meta & Error #233

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

phryneas
Copy link
Member

see #224
This prevents any from taking the void branch in the PayloadAction type - really distinguishing between the two was quite difficult, so I changed to never, which might have been the more logical choice in the first place.

avoids `any` to take the `void` branch
fixes reduxjs#224
@netlify
Copy link

netlify bot commented Oct 26, 2019

Deploy preview for redux-starter-kit-docs ready!

Built with commit c48facd

https://deploy-preview-233--redux-starter-kit-docs.netlify.com

@markerikson
Copy link
Collaborator

Thanks!

@markerikson markerikson merged commit 6f620fd into reduxjs:master Oct 31, 2019
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.

2 participants