Skip to content

Commit 81606c8

Browse files
committed
Updates Redux to v4 and updates redux-thunk - this removes deps on types/redux as they are now shipped in
1 parent fad9b45 commit 81606c8

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,11 @@
6464
"@types/react-helmet": "^5.0.3",
6565
"@types/react-redux": "^5.0.14",
6666
"@types/react-router": "^4.0.26",
67-
"@types/react-router-redux": "^5.0.11",
68-
"@types/redux": "^3.6.31",
67+
"@types/react-router-redux": "^5.0.15",
6968
"@types/redux-devtools": "^3.0.36",
7069
"@types/redux-devtools-dock-monitor": "^1.1.29",
7170
"@types/redux-devtools-log-monitor": "^1.0.29",
7271
"@types/redux-mock-store": "0.0.13",
73-
"@types/redux-thunk": "^2.1.31",
7472
"@types/sinon": "^4.3.1",
7573
"@types/source-map": "^0.5.0",
7674
"@types/tapable": "^0.2.5",
@@ -132,10 +130,10 @@
132130
"react-router-config": "^1.0.0-beta.4",
133131
"react-router-dom": "^4.2.2",
134132
"react-router-redux": "^5.0.0-alpha.9",
135-
"redux": "^3.6.0",
133+
"redux": "^4.0.0",
136134
"redux-connect": "^7.0.0",
137135
"redux-logger": "^3.0.1",
138-
"redux-thunk": "^2.2.0",
136+
"redux-thunk": "^2.3.0",
139137
"serve-favicon": "^2.5.0",
140138
"whs": "2.1.9"
141139
}

src/app/redux/reducers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { IStore } from './IStore';
55

66
const { reducer } = require('redux-connect');
77

8-
const rootReducer: Redux.Reducer<IStore> = combineReducers<IStore>({
8+
const rootReducer: Redux.Reducer<IStore> = combineReducers<any>({
99
routing: routerReducer,
1010
world: worldReducer,
1111
reduxAsyncConnect: reducer

0 commit comments

Comments
 (0)