@state-sync/redux-path-reducer
Version:
state-sync client only json path reducer
12 lines (11 loc) • 333 B
TypeScript
import { Store } from "redux";
export declare class PatchArea<S> {
private store;
private rootPath;
constructor(rootPath: string, store: Store<S>);
select(path: string): any;
replace(path: string, value: any): void;
remove(path: string): void;
child(path: string): PatchArea<S>;
private path(path);
}