combineReducers doesn't infer type
问题 I am using combineReducers in my React TypeScript app: // combinedReducer.ts import { combineReducers } from 'redux' import reducer1 from './reducer1' import reducer2 from './reducer2' const combinedReducer = combineReducers({ reducer1, reducer2, }) export default combinedReducer I understand from redux documentation that combineReducers should infer it's type based on the combined reducers. However, for me it does not, even though each combined reducer has its return type recognised: (