import { AnyAction , CombinedState , combineReducers , Reducer } from "redux" ; import { appReducer , IAppReducer } from "./app" ; import { IOnboardingState , onboardingReducer } from "./onboarding" ; import { IRecorderReducer , recorderReducer } from "./recorder" ; export interface iReduxState { onboarding : IOnboardingState ; recorder : IRecorderReducer ; app : IAppReducer ; } const rootReducer = combineReducers ( { onboarding : onboardingReducer , recorder : recorderReducer , app : appReducer } ) ; export { rootReducer } ;