Installation
npm install --save @types/redux-subscriber
Summary
This package contains type definitions for redux-subscriber (https://github.com/ivantsov/redux-subscriber#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-subscriber.
index.d.ts
export type Unsubscribe = () => void;
export type Subscribe = (key: string, cb: (state: any) => void) => Unsubscribe;
export default function(store: any): Subscribe;
export const subscribe: Subscribe;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by thisissami.