Files
Mark Raymond c68d201b29 Remove unnecessary /// <reference types="redux" />.
The redux typings use `export`, not `declare module`, and so don't need /// <reference types="redux" /> as well as the import.
2017-11-23 09:59:59 +00:00

12 lines
643 B
TypeScript

// Type definitions for redux-immutable-state-invariant v2.0.0
// Project: https://github.com/leoasis/redux-immutable-state-invariant
// Definitions by: Remo H. Jansen <https://github.com/remojansen>, Ben Rogers <https://github.com/highflying>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import * as Redux from "redux";
type isImmutableDefault = (value: any) => boolean;
type immutableStateInvariantMiddlewareInterface = (isImmutable?: isImmutableDefault) => Redux.Middleware;
declare let immutableStateInvariantMiddleware: immutableStateInvariantMiddlewareInterface;
export default immutableStateInvariantMiddleware;