Function decoratorInjection

  • Injects decorators on the specified target based on the attribute decorators.

    Type Parameters

    • T
    • K

    Parameters

    Returns ((originalTarget: ClassOf<K>, originalPropertyKey?: string, originalDescriptor?: PropertyDescriptor) => void)

      • (originalTarget, originalPropertyKey?, originalDescriptor?): void
      • Parameters

        • originalTarget: ClassOf<K>
        • OptionaloriginalPropertyKey: string
        • OptionaloriginalDescriptor: PropertyDescriptor

        Returns void

    This should only be used to augment code-generated classes that through partials.