Type alias Patch<S>

Patch<S>: FunctionPatch<S> | AtLeastOne<ObjectPatch<S>> | Patch<S>[]

A Mergerino patch.

Examples:

update({ count: 42 });
update({ count: x => x + 1 });

Type Parameters

  • S

    the State type.

Generated using TypeDoc