File tree 4 files changed +15
-11
lines changed
4 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 1
- import { ActionTypes } from './createStore '
1
+ import ActionTypes from './utils/actionTypes '
2
2
import isPlainObject from 'lodash/isPlainObject'
3
3
import warning from './utils/warning'
4
4
Original file line number Diff line number Diff line change 1
1
import isPlainObject from 'lodash/isPlainObject'
2
2
import $$observable from 'symbol-observable'
3
3
4
- /**
5
- * These are private action types reserved by Redux.
6
- * For any unknown actions, you must return the current state.
7
- * If the current state is undefined, you must return the initial state.
8
- * Do not reference these action types directly in your code.
9
- */
10
- export const ActionTypes = {
11
- INIT : '@@redux/INIT'
12
- }
4
+ import ActionTypes from './utils/actionTypes'
13
5
14
6
/**
15
7
* Creates a Redux store that holds the state tree.
Original file line number Diff line number Diff line change
1
+ /**
2
+ * These are private action types reserved by Redux.
3
+ * For any unknown actions, you must return the current state.
4
+ * If the current state is undefined, you must return the initial state.
5
+ * Do not reference these action types directly in your code.
6
+ */
7
+ var ActionTypes = {
8
+ INIT : '@@redux/INIT'
9
+ }
10
+
11
+ export default ActionTypes
Original file line number Diff line number Diff line change 1
1
/* eslint-disable no-console */
2
2
import { combineReducers } from '../src'
3
- import createStore , { ActionTypes } from '../src/createStore'
3
+ import createStore from '../src/createStore'
4
+ import ActionTypes from '../src/utils/actionTypes'
4
5
5
6
describe ( 'Utils' , ( ) => {
6
7
describe ( 'combineReducers' , ( ) => {
You can’t perform that action at this time.
0 commit comments