make
function make<A, P, I>( reference: Reference<A>, schema: Codec<P, I>, merge: (outer: NoInfer<A>, patch: P) => NoInfer<A>,): RegistrationDefined in: Intercept.ts:35
Decodes a patch, then merges it with the actual reference’s outer or default value.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
A |
P |
I |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
reference |
Reference<A> |
schema |
Codec<P, I> |
merge |
(outer: NoInfer<A>, patch: P) => NoInfer<A> |