Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/api-extractor-model > TypeParameter > constraintExcerpt

TypeParameter.constraintExcerpt property

An Excerpt that describes the base constraint of the type parameter.

Signature:

readonly constraintExcerpt: Excerpt;

Remarks

In the example below, the constraintExcerpt would correspond to the IIdentifier subexpression:

class Book<TIdentifier extends IIdentifier = BarCode> {
public identifier: TIdentifier;
}