• Parameters

    • metricName: string

    Returns (<TFunction, Y>(target, propertyKey?, descriptor?) => void)

      • <TFunction, Y>(target, propertyKey?, descriptor?): void
      • Function that returns a new decorator that applies all decorators provided by param

        Useful to build new decorators (or a decorator factory) encapsulating multiple decorators related with the same feature

        Type Parameters

        • TFunction extends Function

        • Y

        Parameters

        • target: object | TFunction
        • Optional propertyKey: string | symbol
        • Optional descriptor: TypedPropertyDescriptor<Y>

        Returns void

        Public Api