applyDecorators

Function that returns a new decorator that applies all decorators provided by param

See more...


 applyDecorators(...decorators: (ClassDecorator | MethodDecorator | PropertyDecorator)[])

Parameters

Option Type Description
decorators (ClassDecorator | MethodDecorator | PropertyDecorator)[]

one or more decorators (e.g., ApplyGuard(...))

Description

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