KC's Workspace
    Preparing search index...

    Interface MaybeNamedClassDeclaration

    interface MaybeNamedClassDeclaration {
        body: ClassBody;
        decorators: Decorator[];
        id: Identifier | null;
        leadingComments?: Comment[];
        loc?: SourceLocation | null;
        range?: [number, number];
        superClass?: Expression | null;
        trailingComments?: Comment[];
        type: "ClassDeclaration";
    }

    Hierarchy (View Summary)

    Index

    Properties

    body: ClassBody
    decorators: Decorator[]
    id: Identifier | null

    It is null when a class declaration is a part of the export default class statement

    leadingComments?: Comment[]
    loc?: SourceLocation | null
    range?: [number, number]
    superClass?: Expression | null
    trailingComments?: Comment[]
    type: "ClassDeclaration"