Installation
npm install --save @types/redux-batched-subscribe
Summary
This package contains type definitions for redux-batched-subscribe (https://github.com/tappleby/redux-batched-subscribe).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-batched-subscribe.
index.d.ts
import { Store, StoreEnhancer } from "redux";
export type NotifyFunction = () => void;
export type BatchFunction = (notify: NotifyFunction) => void;
export interface StoreExtension {
subscribeImmediate: Store["subscribe"];
}
export function batchedSubscribe(batch: BatchFunction): StoreEnhancer<StoreExtension>;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: redux
Credits
These definitions were written by Dibyo Majumdar, and Aziz Khambati.