Skip to content

NamespaceItem

ts
export interface NamespaceItem extends BaseItem {
    members: ParsedItem[];
}

WARNING

Not to be used directly.

Representation of a namespace item in the TypeScript AST. This interface extends BaseItem and includes a members property, which is an array of ParsedItem representing the various items (such as functions, classes, interfaces, etc.) that are contained within the namespace. This structure allows for a hierarchical representation of code elements within a namespace, facilitating better organization and analysis of the codebase.

References