File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- import { Reducer } from '.. '
1
+ import { Reducer } from './types/reducers '
2
2
import { AnyAction , Action } from './types/actions'
3
3
import ActionTypes from './utils/actionTypes'
4
4
import warning from './utils/warning'
@@ -124,13 +124,13 @@ function assertReducerShape(reducers: ReducersMapObject) {
124
124
* @returns A reducer function that invokes every reducer inside the passed
125
125
* object, and builds a state object with the same shape.
126
126
*/
127
- export function combineReducers < S > (
127
+ export default function combineReducers < S > (
128
128
reducers : ReducersMapObject < S , any >
129
129
) : Reducer < CombinedState < S > >
130
- export function combineReducers < S , A extends Action = AnyAction > (
130
+ export default function combineReducers < S , A extends Action = AnyAction > (
131
131
reducers : ReducersMapObject < S , A >
132
132
) : Reducer < CombinedState < S > , A >
133
- export function combineReducers < M extends ReducersMapObject < any , any > > (
133
+ export default function combineReducers < M extends ReducersMapObject < any , any > > (
134
134
reducers : M
135
135
) : Reducer <
136
136
CombinedState < StateFromReducersMapObject < M > > ,
You can’t perform that action at this time.
0 commit comments