Skip to main content

GroupPatch

Partial object accepted by a group's patch(); omitted child properties remain unchanged and supplied arrays require complete item values.

Import

import type { GroupPatch } from '@ngblocks/form-nodes';

When to use it

Use to derive the patch value contract from the group's child or item node types. It describes accepted patch input rather than a complete node value. Use FormNodeValue<typeof node> when starting from an existing node instance.

Declaration

type GroupPatch<TNodes extends Nodes> = FormPatch<TNodes>;

Type parameters

ParameterConstraintDefault
TNodesNodesRequired