UNPKG

352 BTypeScriptView Raw
1/**
2 * Decorator that binds *parameter decorators* to the method that follows.
3 *
4 * Useful when the language doesn't provide a 'Parameter Decorator' feature
5 * (i.e., vanilla JavaScript).
6 *
7 * @param decorators one or more parameter decorators (e.g., `Req()`)
8 *
9 * @publicApi
10 */
11export declare function Bind(...decorators: any[]): MethodDecorator;