Function decoratePlainObject

  • Type Parameters

    • T extends object

    Parameters

    • obj: T
    • makeDecorator: ((target: T, key: Extract<keyof T, string>) => ((...args: any[]) => unknown))
        • (target: T, key: Extract<keyof T, string>): ((...args: any[]) => unknown)
        • Parameters

          • target: T
          • key: Extract<keyof T, string>

          Returns ((...args: any[]) => unknown)

            • (...args: any[]): unknown
            • Parameters

              • Rest ...args: any[]

              Returns unknown

    Returns unknown

Generated using TypeDoc