@types/wepy-redux
TypeScript icon, indicating that this package has built-in type declarations

1.7.5 • Public • Published

Installation

npm install --save @types/wepy-redux

Summary

This package contains type definitions for wepy-redux (https://github.com/Tencent/wepy/tree/1.7.x/packages/wepy-redux).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wepy-redux.

index.d.ts

import { Store } from "redux";
import wepy from "wepy";

export interface MapStateToProps {
    [propName: string]: ((state: any) => any) | string;
}
export interface MapDispatchToProps {
    [propName: string]: ((store: any, ...args: any[]) => void) | string;
}

export function connect(
    mapStateToProps: MapStateToProps,
    mapDispatchToProps: MapDispatchToProps,
): <T extends wepy.Component>(original: T) => T;

export function setStore(store: Store<any, any>): void;

export function getStore(): Store;

Additional Details

Credits

These definitions were written by Jiayu Liu.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.7.512ts5.7
1.7.512ts5.6
1.7.512latest
1.7.512ts4.5
1.7.512ts4.6
1.7.512ts4.7
1.7.512ts4.8
1.7.512ts4.9
1.7.512ts5.0
1.7.512ts5.1
1.7.512ts5.2
1.7.512ts5.3
1.7.512ts5.4
1.7.512ts5.5
1.7.512ts5.8
1.7.22ts2.8
1.7.22ts2.9
1.7.22ts3.0
1.7.22ts3.1
1.7.22ts3.2
1.7.22ts3.3
1.7.22ts3.4
1.7.22ts3.5
1.7.22ts3.6
1.7.22ts3.7
1.7.22ts3.8
1.7.22ts3.9
1.7.22ts4.0
1.7.22ts4.1
1.7.22ts4.2
1.7.22ts4.3
1.7.22ts4.4
1.7.11ts2.3
1.7.11ts2.4
1.7.11ts2.5
1.7.11ts2.6
1.7.11ts2.7

Version History

VersionDownloads (Last 7 Days)Published
1.7.512
1.7.40
1.7.30
1.7.22
1.7.11
1.7.01

Package Sidebar

Install

npm i @types/wepy-redux

Weekly Downloads

12

Version

1.7.5

License

MIT

Unpacked Size

3.73 kB

Total Files

5

Last publish

Collaborators

  • types