Skip to content

InterfaceItem

ts
export interface InterfaceItem extends BaseItem {
    members: Array<InterfaceMemberProperty | InterfaceMemberMethod | IndexSignature>;
    typeParameters?: TypeParameterInfo[];
}

WARNING

Not to be used directly.

Representation of an interface item in the TypeScript AST. This interface extends BaseItem and includes properties specific to interface declarations, such as its members (which can be properties, methods, or index signatures) and optional type parameters that define generic types for the interface.

References