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

Constructor

Modifiers

Description

(constructor)(excerpt)

Constructs a new instance of the HeritageType class

Properties

Property

Modifiers

Type

Description

excerpt

readonly

Excerpt

An excerpt corresponding to the referenced type.