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

HeritageType class

Represents a type referenced via an “extends” or “implements” heritage clause for a TypeScript class.

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

Constructor Modifiers Description
(constructor)(excerpt)   Constructs a new instance of the HeritageType class

Properties

Property Modifiers Type Description
excerpt   Excerpt An excerpt corresponding to the referenced type.