UNPKG

@redux-ts-starter-kit/core

Version:
14 lines (13 loc) 524 B
import type { Middleware } from 'redux'; export declare function isPlain(val: any): val is undefined | string | boolean | number | any[] | null | { [x: string]: any; }; export declare function findNonSerializableValue<O extends { [x: string]: any; }>(obj: O, path?: string[], isSerializable?: typeof isPlain): false | { keyPath: string; value: O | O[keyof O]; }; export default function createSerializableStateInvariantMiddleware(options?: { isSerializable?: typeof isPlain; }): Middleware;