Redux TS Generic type 'Dispatch<S>' requires 1 type argument(s)
问题 Trying to setup a project with typescript and redux. I am getting this error Generic type 'Dispatch<S>' requires 1 type argument(s). here is my store.ts import { connectRouter, routerMiddleware } from 'connected-react-router' import { applyMiddleware, compose, createStore } from 'redux' import { createLogger } from 'redux-logger' import ReduxThunk from 'redux-thunk' import { createBrowserHistory } from 'history' import reducers from './reducers' import { composeWithDevTools } from 'redux