Update redux-thunk type definitions for v2.0.1

This commit is contained in:
Tom Shen
2016-03-08 16:09:23 -05:00
parent 9f0f926a12
commit 55de3b690b
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;
}