interface ClassDeclaration {
    abstract?: null | boolean;
    body: ClassBody;
    declare?: null | boolean;
    decorators?: null | Decorator[];
    end?: null | number;
    extra?: Record<string, unknown>;
    id?: null | Identifier;
    implements?: null | (ClassImplements | TSExpressionWithTypeArguments)[];
    innerComments?: null | Comment[];
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    mixins?: null | InterfaceExtends;
    range?: [number, number];
    start?: null | number;
    superClass?: null | Expression;
    superTypeParameters?: null | TSTypeParameterInstantiation | TypeParameterInstantiation;
    trailingComments?: null | Comment[];
    type: "ClassDeclaration";
    typeParameters?: null | Noop | TSTypeParameterDeclaration | TypeParameterDeclaration;
}

Hierarchy (view full)

Properties

abstract?: null | boolean
body: ClassBody
declare?: null | boolean
decorators?: null | Decorator[]
end?: null | number
extra?: Record<string, unknown>
id?: null | Identifier
innerComments?: null | Comment[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
mixins?: null | InterfaceExtends
range?: [number, number]
start?: null | number
superClass?: null | Expression
trailingComments?: null | Comment[]
type: "ClassDeclaration"