import { DifferSym } from "@tsplus/stdlib/data/Differ/definition" /** * Constructs a new `Differ`. * * @tsplus static Differ.Ops __call * @tsplus static Differ.Ops make */ export function make(params: { readonly empty: Patch readonly diff: (oldValue: Value, newValue: Value) => Patch readonly combine: (first: Patch, second: Patch) => Patch readonly patch: (patch: Patch, oldValue: Value) => Value }): Differ { return { [DifferSym]: DifferSym, ...params } }