Skip to content

DecoratorInfo

ts
export interface DecoratorInfo {
    name: string;
    arguments?: string[];
    text?: string;
}

WARNING

Not to be used directly.

Representation of a decorator in the TypeScript AST. This interface includes properties for the name of the decorator, any arguments passed to it, and an optional text representation of the decorator for documentation purposes.