Skip to main content

UnannotateAllowedTypesList TypeAlias

Removes annotations from a list of allowed types 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 UnannotateAllowedTypesList<T extends readonly (AnnotatedAllowedType | LazyItem<TreeNodeSchema>)[]> = {
[I in keyof T]: UnannotateAllowedTypeOrLazyItem<T[I]>;
};

Type Parameters

Parameter Constraint Description
T readonly (AnnotatedAllowedType | LazyItem<TreeNodeSchema>)[]