diff --git a/redux-thunk/redux-thunk.d.ts b/redux-thunk/redux-thunk.d.ts
index 334a02997..7208bcaf0 100644
--- a/redux-thunk/redux-thunk.d.ts
+++ b/redux-thunk/redux-thunk.d.ts
@@ -5,17 +5,15 @@
///
-declare module "redux-thunk" {
+declare module ReduxThunk {
import { Middleware, Dispatch } from 'redux';
-
- export interface Thunk extends Middleware { }
-
+ export interface Thunk extends Middleware {};
export interface ThunkInterface {
(dispatch: Dispatch, getState?: () => T): any;
}
-
- var thunk: Thunk;
-
- export = thunk;
}
+declare module "redux-thunk" {
+ var thunk: ReduxThunk.Thunk;
+ export = thunk;
+}