Function getDecorator

  • Retrieves a decorator from an object or its properties.

    Type Parameters

    • T extends AnyDecorator

    Parameters

    • object: object
    • Optional property: string
    • Optional id: string

    Returns {
        arguments: DecoratorParameters<T>;
    } | undefined