UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

14 lines (11 loc) 654 B
// Type definitions for react-router-redux v1.2.0 // Project: https://github.com/leoasis/redux-immutable-state-invariant // Definitions by: Remo H. Jansen <https://github.com/remojansen> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference path="../redux/redux.d.ts" /> declare module "redux-immutable-state-invariant" { type isImmutableDefault = (value: any) => boolean; type immutableStateInvariantMiddlewareInterface = (isImmutable?: isImmutableDefault) => Redux.Middleware; let immutableStateInvariantMiddleware: immutableStateInvariantMiddlewareInterface; export = immutableStateInvariantMiddleware; }