UNPKG

merge-change

Version:

Advanced library for deep merging, patching, and immutable updates of data structures. Features declarative operations for specific merging behaviors, property management, custom type merging rules, and difference tracking. Supports complex data transform

13 lines (12 loc) 316 B
import { ObjectValue, PropertyPath } from '../common-types/types'; export type DiffResult = { $unset: PropertyPath[]; $set: ObjectValue; }; export type DiffOptions = { ignore?: string[]; white?: string[]; path?: string; equal?: (a: unknown, b: unknown) => boolean; separator?: string; };