Home > @microsoft/api-extractor-model > ApiTypeAlias > typeExcerpt
ApiTypeAlias.typeExcerpt property
An Excerpt that describes the type of the alias.
Signature:
readonly typeExcerpt: Excerpt;
Remarks
In the example below, the typeExcerpt
would correspond to the subexpression T extends any[] ? BoxedArray<T[number]> : BoxedValue<T>;
:
export type Boxed<T> = T extends any[] ? BoxedArray<T[number]> : BoxedValue<T>;