API reference › @evolu/common › Type › FromParentOperations

Defined in: packages/common/src/Type.ts:2089

The .parent suffixes of a Type from operation.

Each .parent accepts the Output of the next Type toward the root and returns the errors of every boundary it adds.

Properties

parent

readonly parent: (value: Boundary["Output"], options?: ValidationOptions) => Result<Output, Error> & [Boundary["parent"]] extends [Parent] ? FromParentOperations<Output, Error | Boundary["Error"], Parent> : unknown;

Defined in: packages/common/src/Type.ts:2094