Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/deep/index.ts>Deep.Patch

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

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 Deep.Patch
Re-export
import { type Deep } from "https://deno.land/x/rimbu@1.2.0/deep/index.ts";
const { Patch } = Deep;

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>