Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/api-extractor-model > HeritageType

HeritageType class

Represents a type referenced via an "extends" or "implements" heritage clause for a TypeScript class or interface.

Signature:

export declare class HeritageType 

Remarks

For example, consider this declaration:

export class Widget extends Controls.WidgetBase implements Controls.IWidget, IDisposable {
// . . .
}

The heritage types are Controls.WidgetBase, Controls.IWidget, and IDisposable.

Constructors

ConstructorModifiersDescription
(constructor)(excerpt)Constructs a new instance of the HeritageType class

Properties

PropertyModifiersTypeDescription
excerptreadonlyExcerptAn excerpt corresponding to the referenced type.