Skip to main content

Members Interface

Members for classes created by extensibleSchemaUnion(types, inputSchemaFactory, name).

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

interface Members<T>

Type Parameters

ParameterDescription
T

Properties

PropertyAlertsModifiersTypeDescription
childAlphareadonlyT | undefinedThe child wrapped by this node, which is has one of the type allowed by the union, or undefined if the type is one which was added to the union by a future version of this schema.

Property Details

child

The child wrapped by this node, which is has one of the type allowed by the union, or undefined if the type is one which was added to the union by a future version of this schema.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

readonly child: T | undefined;

Type: T | undefined