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

Convert applyMiddleware.js to typescript #3529

Merged
merged 2 commits into from
Aug 29, 2019

Conversation

cellog
Copy link
Contributor

@cellog cellog commented Aug 29, 2019

This converts applyMiddleware to typescript. In order to do this, there is a bug in the type definition of Dispatch that needs to be fixed to reflect the changes introduced in the fix for #2501.

In addition, this conversion makes more explicit the reducer passed to createStore and the action passed to dispatch. This supplants part of #3520 and is a step on the path to #3500

@timdorr timdorr merged commit aa6d410 into reduxjs:ts-conversion Aug 29, 2019
webMasterMrBin pushed a commit to webMasterMrBin/redux that referenced this pull request Aug 21, 2021
* convert applyMiddleware.js to typescript

* vastly improve the definition of middleware types


Former-commit-id: 37d8875
Former-commit-id: abb9bee
webMasterMrBin pushed a commit to webMasterMrBin/redux that referenced this pull request Aug 21, 2021
* convert applyMiddleware.js to typescript

* vastly improve the definition of middleware types


Former-commit-id: 37d8875
Former-commit-id: abb9bee
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