import { combineReducers } from 'redux-immutable'; import { Map, List } from 'immutable'; // Dummy State interface interface State { }; /** * Combine reducers should work with only one argument (a reducers object). */ combineReducers({}); combineReducers({}); /** * Combine reducers should accepts a function (getDefaultState()) as a second parameter, that returns an immutable Collection.Keyed collection. */ combineReducers({}, () => { return Map(); }); combineReducers({}, () => { return Map(); }); /** * Combine reducers should accepts a function (getDefaultState()) as a second parameter, that returns an immutable Collection.Indexed collection. */ combineReducers({}, () => { return List(); });