Skip to content

Function: applyDecorators()

ts
function applyDecorators(...decorators): (target, propertyKey?, descriptor?) => void;

Defined in: packages/core/src/decorators/apply-decorators.ts:8

Applies multiple decorators to a target (class, method, or property). Useful for composing multiple decorators into a single one.

Parameters

ParameterTypeDescription
...decorators( | ClassDecorator | MethodDecorator | PropertyDecorator | ParameterDecorator)[]Array of decorators to apply.

Returns

(target, propertyKey?, descriptor?) => void

Released under the MIT License.