Bind
Decorator that binds parameter decorators to the method that follows.
@Bind(...decorators: any[])
Parameters
Option | Type | Description |
---|---|---|
decorators
|
any[] |
one or more parameter decorators (e.g., |
Returns
MethodDecorator
Description
Useful when the language doesn't provide a 'Parameter Decorator' feature (i.e., vanilla JavaScript).