Skip to main content

TreeNodeFromImplicitAllowedTypesUnsafe TypeAlias

Unenforced version of TreeNodeFromImplicitAllowedTypes.

This API is reserved for internal system use and should not be imported directly. It may change at any time without notice.

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

Signature

export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends TreeNodeSchemaUnsafe ? NodeFromSchemaUnsafe<TSchema> : TSchema extends AllowedTypesUnsafe ? NodeFromSchemaUnsafe<FlexListToUnion<TSchema>> : unknown;

Type Parameters

Parameter Constraint Description
TSchema Unenforced<ImplicitAllowedTypes>

Remarks

Do note use this type directly: its only needed in the implementation of generic logic which define recursive schema, not when using recursive schema.