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

#248 Add union overload to ThunkDispatch #255

Merged
merged 2 commits into from
Jul 6, 2019
Merged

Conversation

Philipp91
Copy link
Contributor

See discussion in #248 and microsoft/TypeScript#14107. Without this explicit overload, TypeScript is unable to figure out that the function can be called with an argument of type T|ThunkAction<...>.

See discussion in reduxjs#248 and microsoft/TypeScript#14107. Without this explicit overload, TypeScript is unable to figure out that the function can be called with an argument of type `T|ThunkAction<...>`.
index.d.ts Outdated Show resolved Hide resolved
@timdorr
Copy link
Member

timdorr commented Jul 6, 2019

Thanks!

@timdorr timdorr merged commit 237f6bb into reduxjs:master Jul 6, 2019
@timdorr timdorr mentioned this pull request Sep 11, 2020
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