diff --git a/redux-thunk/redux-thunk-tests.ts b/redux-thunk/redux-thunk-tests.ts index f5ed3ef6d..f1283bf53 100644 --- a/redux-thunk/redux-thunk-tests.ts +++ b/redux-thunk/redux-thunk-tests.ts @@ -3,7 +3,7 @@ /// 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; diff --git a/redux-thunk/redux-thunk.d.ts b/redux-thunk/redux-thunk.d.ts index aafaa0453..c762f86be 100644 --- a/redux-thunk/redux-thunk.d.ts +++ b/redux-thunk/redux-thunk.d.ts @@ -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 // 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; }