Skip to content

ClassMemberConstructor

ts
export interface ClassMemberConstructor {
    type: "constructor";
    for: string;
    function: FunctionItem;
}

WARNING

Not to be used directly.

Representation of a class member constructor in the TypeScript AST. This interface includes properties specific to constructor declarations, such as the type (which is always "constructor"), the name of the class it belongs to, and the function item representing the constructor's signature and body.

References