Skip to content

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