Rush StackShopBlogEvents
Skip to main content

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

ApiClass class

Represents a TypeScript class declaration.

Signature:

export declare class ApiClass extends ApiClass_base 

Extends: ApiClass_base

Remarks

This is part of the ApiModel hierarchy of classes, which are serializable representations of API declarations.

ApiClass represents a TypeScript declaration such as this:

export class X { }

Constructors

ConstructorModifiersDescription
(constructor)(options)Constructs a new instance of the ApiClass class

Properties

PropertyModifiersTypeDescription
containerKeyreadonlystring
extendsTypereadonlyHeritageType | undefinedThe base class that this class inherits from (using the extends keyword), or undefined if there is no base class.
implementsTypesreadonlyReadonlyArray<HeritageType>The list of interfaces that this class implements using the implements keyword.
kindreadonlyApiItemKind

Methods

MethodModifiersDescription
buildCanonicalReference()(BETA)
getContainerKey(name)static
onDeserializeInto(options, context, jsonObject)static
serializeInto(jsonObject)