Skip to main content

UnannotateAllowedTypeOrLazyItem TypeAlias

Removes annotations from an allowed type that may contain annotations.

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 UnannotateAllowedTypeOrLazyItem<T extends AnnotatedAllowedType | LazyItem<TreeNodeSchema>> = T extends AnnotatedAllowedType<infer X> ? X : T;

Type Parameters

Parameter Constraint Description
T AnnotatedAllowedType | LazyItem<TreeNodeSchema>