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

0.1.7 • Public • Published

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.

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @types/redux-batched-subscribe

Weekly Downloads

17,213

Version

0.1.7

License

MIT

Unpacked Size

3.56 kB

Total Files

5

Last publish

Collaborators

  • types