v1.0.1
This release includes a TS type bugfix for prepare callbacks, adds a new match
method for action creators, and re-exports additional functions from Redux.
Changes
The types for the recently added error
field in prepare callbacks were too loose, and that caused them to fall back to any
. This has been fixed.
There are cases when it is helpful to have a type guard to narrow action objects down to a known type, such as checking in a middleware. Generated action creators now have a actionCreator.match()
type guard function attached.
We were re-exporting some methods from the Redux core, but not all of them. All Redux exports are now re-exported, including bindActionCreators
.