mapDispatchToProps connect typescript code example
Example: redux typescript mapdispatchtoprops
const mapDispatchToProps = (dispatch: ThunkDispatch<any, any, AnyAction>) => {
...
const mapDispatchToProps = (dispatch: ThunkDispatch<any, any, AnyAction>) => {
...