effect-io-ai

Package: effect
Module: Differ

Differ.make

Constructs a new Differ.

Signature

declare const make: <Value, Patch>(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<Value, Patch>

Source

Since v2.0.0