Function Middleware

  • Decorator function to wrap a method with middleware.

    Parameters

    Returns ((_target, _propertyKey, descriptor) => PropertyDescriptor)

    A decorator that wraps the targeted method with the given middleware.

      • (_target, _propertyKey, descriptor): PropertyDescriptor
      • Parameters

        • _target: any
        • _propertyKey: string
        • descriptor: PropertyDescriptor

        Returns PropertyDescriptor

Generated using TypeDoc