(metadata?: ClientOptions)
| 10 | * |
| 11 | */ |
| 12 | export function Client(metadata?: ClientOptions): PropertyDecorator { |
| 13 | return (target: object, propertyKey: string | symbol): void => { |
| 14 | Reflect.set(target, propertyKey, null); |
| 15 | Reflect.defineMetadata(CLIENT_METADATA, true, target, propertyKey); |
| 16 | Reflect.defineMetadata( |
| 17 | CLIENT_CONFIGURATION_METADATA, |
| 18 | metadata, |
| 19 | target, |
| 20 | propertyKey, |
| 21 | ); |
| 22 | }; |
| 23 | } |
no test coverage detected