From 55de3b690b84ef9a2342fca589ba5a644845c600 Mon Sep 17 00:00:00 2001 From: Tom Shen Date: Tue, 8 Mar 2016 16:09:23 -0500 Subject: [PATCH] Update redux-thunk type definitions for v2.0.1 --- redux-thunk/redux-thunk-tests.ts | 2 +- redux-thunk/redux-thunk.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }