applyDecorators
Function that returns a new decorator that applies all decorators provided by param
applyDecorators(...decorators: (MethodDecorator | ClassDecorator | PropertyDecorator)[])
Parameters
Option | Type | Description |
---|---|---|
decorators
|
(MethodDecorator | ClassDecorator | PropertyDecorator)[] |
one or more decorators (e.g., |
Description
Useful to build new decorators (or a decorator factory) encapsulating multiple decorators related with the same feature