The redux state
The extra argument passed to the inner function of thunks (if specified when setting up the Thunk middleware)
The (non-thunk) actions that can be dispatched.
Accepts a thunk function, runs it, and returns whatever the thunk itself returns
Accepts a standard action object, and returns that action object
A union of the other two overloads for TS inference purposes
Generated using TypeDoc
The dispatch method as modified by React-Thunk; overloaded so that you can dispatch:
dispatch()
returns the action itselfdispatch()
returns the thunk's return value