Use
Use(…
middleware): (target,propertyKey?,descriptor?) =>void
Defined in: src/decorators.ts:18
Decorator: Applies middleware to a class or method.
Parameters
Section titled “Parameters”middleware
Section titled “middleware”…Middleware[]
Returns
Section titled “Returns”(
target,propertyKey?,descriptor?):void
Parameters
Section titled “Parameters”target
Section titled “target”any
propertyKey?
Section titled “propertyKey?”string
descriptor?
Section titled “descriptor?”PropertyDescriptor
Returns
Section titled “Returns”void