Function getPropertyDecorators

  • Creates a map of every property using the specified decorator.

    Type Parameters

    • T extends AnyDecorator

    Parameters

    • obj: object
    • Optional id: string

    Returns Map<string, {
        arguments: DecoratorParameters<T>;
    }>