- attachment<T>(name, type): ((target, propertyKey, descriptor) => PropertyDescriptor)
Returns ((target, propertyKey, descriptor) => PropertyDescriptor)
- (target, propertyKey, descriptor): PropertyDescriptor
Parameters
- target: unknown
- propertyKey: string
- descriptor: PropertyDescriptor
Returns PropertyDescriptor