Skip to main content
Module

x/rimbu/deep/patch.ts>Patch

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace Patch
import { Patch } from "https://deno.land/x/rimbu@0.14.0/deep/patch.ts";

Type Aliases

The entry type for a (nested) patch. Can be either a patch object or a function accepting the nested patch function and returning a patch object.

A function patch type that is a function taking the current value, the parent and root values, and returns a return value.

Utility type to exclude Iterable types.

A type defining the allowed patch values for objects.

A type defining the allowed patch values for object properties.

A type defining the allowed patch values for tuples.

Either result type S, or a patch function with the value type, the parent type, and the root type.

type alias Patch
import { type Patch } from "https://deno.land/x/rimbu@0.14.0/deep/patch.ts";

A type to determine the allowed input type for the patch function.

Type Parameters

T
optional
C = T
definition: Patch.Entry<T, C, T, T>