Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 515 Bytes
import { combineReducers } from 'redux'
import { capitalReducer } from './capitalReducer'
import { positionsReducer } from './positionsReducer'
import { ordersReducer } from './ordersReducer'
import { timestampReducer } from './timestampReducer'
/**
* use "as any" as an escape hatch for https://github.com/Microsoft/TypeScript/issues/5711
*/
export const rootReducer = combineReducers({
capital: capitalReducer,
positions: positionsReducer,
orders: ordersReducer,
timestamp: timestampReducer
}) as any