// Type definitions for redux-thunk // Project: https://github.com/gaearon/redux-thunk // Definitions by: Qubo // Definitions: https://github.com/borisyankov/DefinitelyTyped /// declare module ReduxThunk { export interface Thunk extends Redux.Middleware {} export interface ThunkInterface { (dispatch: Redux.Dispatch, getState?: () => T): any; } } declare module "redux-thunk" { var thunk: ReduxThunk.Thunk; export = thunk; }