Skip to content

MethodParamInfo

ts
export interface MethodParamInfo extends ParamInfo {
    optional?: boolean;
    default?: string;
}

WARNING

Not to be used directly.

Representation of a method parameter in the TypeScript AST. This interface extends ParamInfo and includes additional properties specific to method parameters, such as whether the parameter is optional and its default value (if any). This information is crucial for understanding the signature of a method and how it can be called with different arguments.

References