Installation
npm install --save @types/redux-immutable-state-invariant
Summary
This package contains type definitions for redux-immutable-state-invariant (https://github.com/leoasis/redux-immutable-state-invariant).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-immutable-state-invariant.
index.d.ts
import * as Redux from "redux";
interface immutableStateInvariantMiddlewareOptions {
isImmutable?: ((value: any) => boolean) | undefined;
ignore?: string[] | undefined;
}
type immutableStateInvariantMiddlewareInterface = (
options?: immutableStateInvariantMiddlewareOptions,
) => Redux.Middleware;
declare let immutableStateInvariantMiddleware: immutableStateInvariantMiddlewareInterface;
export default immutableStateInvariantMiddleware;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: redux
Credits
These definitions were written by Remo H. Jansen, Ben Rogers, Mihai Dinculescu, and Nick Galloway.