mosx
Version:
Multiview observable state management engine
11 lines (10 loc) • 334 B
TypeScript
export interface ISnapshot {
[key: string]: any;
}
export interface ISnapshotParams {
tags?: string | string[];
objTags?: Set<string>;
spy?: boolean;
}
export declare const snapshot: (target: any, params: ISnapshotParams) => any;
export declare const compressedSnapshot: (target: any, params: ISnapshotParams) => any;