Skip to content

InterfaceMemberMethod

ts
export interface InterfaceMemberMethod {
    name: string;
    arguments: ParamInfo[];
    returnType?: string;
    optional?: boolean;
    jsdoc?: string;
    loc?: Range;
}

WARNING

Not to be used directly.

Representation of a method member in an interface within the TypeScript AST. This interface includes properties for the name of the method, its parameters (represented as an array of ParamInfo), an optional return type, a boolean indicating whether the method is optional, any JSDoc comments associated with the method, and its location in the source code for reference.

References