# Installation
> `npm install --save @types/redux-promise`

# Summary
This package contains type definitions for redux-promise (https://github.com/acdlite/redux-promise).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-promise.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-promise/index.d.ts)
````ts
import * as Redux from "redux";

declare const promise: ReduxPromise.Promise;
export = promise;

declare namespace ReduxPromise {
    export interface Promise extends Redux.Middleware {}
}

declare module "redux" {
    type PromiseAction<S> = (dispatch: Redux.Dispatch<S>, getState?: () => S) => any;

    interface Dispatch<S> {
        <R>(asyncAction: PromiseAction<S>): R;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: [redux](https://npmjs.com/package/redux)

# Credits
These definitions were written by [Rogelio Morrell Caballero](https://github.com/molekilla), and [Kaur Kuut](https://github.com/xStrom).
