Bind

Decorator that binds parameter decorators to the method that follows.

See more...


 @Bind(...decorators: any[])

Parameters

Option Type Description
decorators any[]

one or more parameter decorators (e.g., Req())

Returns

MethodDecorator

Description

Useful when the language doesn't provide a 'Parameter Decorator' feature (i.e., vanilla JavaScript).