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

x/rimbu/core/mod.ts>Deep.Patch.WithResult

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

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

definition: S | Patch.Func<T, P, R, S>