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

TypeParameter.defaultTypeExcerpt property

An Excerpt that describes the default type of the type parameter.

Signature:

readonly defaultTypeExcerpt: Excerpt;

Remarks

In the example below, the defaultTypeExcerpt would correspond to the BarCode subexpression:

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