mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
14 lines
654 B
TypeScript
14 lines
654 B
TypeScript
// 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;
|
|
}
|