applyDecorators
Function that returns a new decorator that applies all decorators provided by param
applyDecorators(...decorators: (ClassDecorator | MethodDecorator | PropertyDecorator)[])
Parameters
Option | Type | Description |
---|---|---|
decorators
|
(ClassDecorator | MethodDecorator | 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