- dependable(...addOns): ((target: any, key: string | symbol, descriptor: PropertyDescriptor) => PropertyDescriptor)
Returns ((target: any, key: string | symbol, descriptor: PropertyDescriptor) => PropertyDescriptor)
- (target, key, descriptor): PropertyDescriptor
Parameters
- target: any
- key: string | symbol
- descriptor: PropertyDescriptor
Returns PropertyDescriptor
Decorator function that accepts a list of AddOns and ensures addons are scheduled to be added as well as add them as dependencies