Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit 867d070

Browse files
Remove unused references to ThunkAction. Fixes a build error since @types/redux-thunk 2.2.0 removes the ThunkAction export.
1 parent a046bd2 commit 867d070

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

templates/ReactReduxSpa/ClientApp/store/Counter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Action, Reducer, ThunkAction } from 'redux';
1+
import { Action, Reducer } from 'redux';
22

33
// -----------------
44
// STATE - This defines the type of data maintained in the Redux store.

templates/ReactReduxSpa/ClientApp/store/WeatherForecasts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { fetch, addTask } from 'domain-task';
2-
import { Action, Reducer, ThunkAction, ActionCreator } from 'redux';
2+
import { Action, Reducer, ActionCreator } from 'redux';
33
import { AppThunkAction } from './';
44

55
// -----------------

templates/ReactReduxSpa/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"@types/react-router": "^2.0.30",
1010
"@types/react-router-redux": "^4.0.30",
1111
"@types/redux": "3.5.27",
12-
"@types/redux-thunk": "^2.1.28",
1312
"@types/source-map": "^0.1.28",
1413
"@types/uglify-js": "^2.0.27",
1514
"@types/webpack": "^1.12.35",
@@ -37,7 +36,7 @@
3736
"react-router": "^2.8.1",
3837
"react-router-redux": "^4.0.6",
3938
"redux": "^3.6.0",
40-
"redux-thunk": "^2.1.0",
39+
"redux-thunk": "^2.2.0",
4140
"style-loader": "^0.13.0",
4241
"ts-loader": "^0.8.1",
4342
"typescript": "^2.0.3",

0 commit comments

Comments
 (0)