13 lines
307 B
TypeScript
13 lines
307 B
TypeScript
import { combineReducers } from 'redux';
|
|
import { flagsReducer, FlagsState } from './flags';
|
|
import { authReducer, AuthState } from './auth';
|
|
|
|
export interface RootState {
|
|
auth: AuthState,
|
|
flags: FlagsState,
|
|
}
|
|
|
|
export const rootReducer = combineReducers({
|
|
flags: flagsReducer,
|
|
auth: authReducer,
|
|
}); |