UNPKG

@types/redux-immutable-state-invariant

Version:
31 lines (24 loc) 1.35 kB
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-immutable-state-invariant/index.d.ts) ````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](https://npmjs.com/package/redux) # Credits These definitions were written by [Remo H. Jansen](https://github.com/remojansen), [Ben Rogers](https://github.com/highflying), [Mihai Dinculescu](https://github.com/mihai-dinculescu), and [Nick Galloway](https://github.com/blackarctic).