@servicenow/sdk - v4.4.1
    Preparing search index...
    interface DecoratorStructure {
        arguments?: WriterFunction | (string | WriterFunction)[];
        kind: Decorator;
        leadingTrivia?: string | WriterFunction | (string | WriterFunction)[];
        name: string;
        trailingTrivia?: string | WriterFunction | (string | WriterFunction)[];
        typeArguments?: string[];
    }

    Hierarchy (View Summary)

    • Structure
    • DecoratorSpecificStructure
      • DecoratorStructure
    Index

    Properties

    arguments?: WriterFunction | (string | WriterFunction)[]

    Arguments for a decorator factory.

    Provide an empty array to make the structure a decorator factory.

    kind: Decorator
    leadingTrivia?: string | WriterFunction | (string | WriterFunction)[]

    Leading comments or whitespace.

    name: string
    trailingTrivia?: string | WriterFunction | (string | WriterFunction)[]

    Trailing comments or whitespace.

    typeArguments?: string[]