Chore: infer combined reducer state types (#39118)

This commit is contained in:
Domas
2021-09-13 16:00:41 +03:00
committed by GitHub
parent f172701043
commit f38c8a2b2b
4 changed files with 13 additions and 59 deletions

View File

@@ -46,7 +46,7 @@ export const createRootReducer = () => {
...addedReducers,
});
return (state: any, action: AnyAction): any => {
return (state: any, action: AnyAction) => {
if (action.type !== cleanUpAction.type) {
return appReducer(state, action);
}