# Installation
> `npm install --save @types/tinajs__tina-redux`

# Summary
This package contains type definitions for @tinajs/tina-redux (https://github.com/tinajs/tina-redux).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tinajs__tina-redux.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tinajs__tina-redux/index.d.ts)
````ts
import { Action, Dispatch, Store } from "redux";

type MapStateToProps = (state: any) => any;
type mapDispatchToProps = (dispatch: Dispatch) => any;

interface HOC {
    onLoad: () => void;
    onUnload: () => void;
    methods: object;
}

declare class TinaRedux<S, A extends Action> {
    constructor(reduxStore: Store<S, A>);
    connect(mapState?: MapStateToProps, mapDispatch?: mapDispatchToProps): HOC;
}

export = TinaRedux;

````

### 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 [Jiayu Liu](https://github.com/Jimexist).
