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
A union of the other two overloads for TS inference purposes
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