Merge pull request #8452 from tomshen/fix-redux-thunk

Update redux-thunk type definitions for v2.0.1
This commit is contained in:
Masahiro Wakame
2016-03-12 01:09:18 +09:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
/// <reference path="../express/express.d.ts" />
import { createStore, applyMiddleware, Store, Dispatch } from 'redux';
import * as thunk from 'redux-thunk';
import thunk from 'redux-thunk';
import ThunkInterface = ReduxThunk.ThunkInterface;
declare var rootReducer: Function;
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for redux-thunk
// Type definitions for redux-thunk v2.0.1
// Project: https://github.com/gaearon/redux-thunk
// Definitions by: Qubo <https://github.com/tkqubo>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -14,5 +14,5 @@ declare module ReduxThunk {
declare module "redux-thunk" {
var thunk: ReduxThunk.Thunk;
export = thunk;
export default thunk;
}