ClassMemberProperty
ts
export interface ClassMemberProperty {
name: string;
private?: boolean;
static?: boolean;
readonly?: boolean;
value?: string | number | boolean | null;
type?: string;
decorators?: DecoratorInfo[];
loc?: Range;
}WARNING
Not to be used directly.
Representation of a class member property in the TypeScript AST. This interface includes properties specific to property declarations within a class, such as the name of the property, its type, and any decorators applied to it.