Skip to main content

UnannotateAllowedType TypeAlias

Removes annotations from an allowed type.

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 UnannotateAllowedType<T extends AnnotatedAllowedType> = T extends AnnotatedAllowedType<infer X> ? [X] : T;

Type Parameters

Parameter Constraint Description
T AnnotatedAllowedType