UNPKG

datum-merge

Version:

Simplified diff and merging for deeply nested objects

16 lines 744 B
import { Diff } from "./diff-lib/deep-diff"; export declare function deepDiffTyped<T extends object>(lhsObj: T, rhsObj: T, orderInd?: boolean): Partial<T>; export declare function antiDiffTyped<T extends object>(lhsObj: T, rhsObj: object, orderInd?: boolean): Partial<T>; export declare function deepDiffLow<T = any, S = T>(lhsObj: T, rhsObj: S, orderInd?: boolean): readonly Diff<T, S>[] | false; export declare function deepDiffFlat(oldFlat: any, newFlat: any, flatten?: boolean): [any, any]; export declare function flattenObject(obj: { [key: string]: any; }): { [key: string]: any; }; export declare function unflattenObject(flatObj: { [key: string]: any; }): { [key: string]: any; }; //# sourceMappingURL=diff-high.d.ts.map