• Decorator function that accepts a list of AddOns and ensures addons are scheduled to be added as well as add them as dependencies

    Parameters

    • Rest...addOns: string[]

    Returns ((target: any, key: string | symbol, descriptor: PropertyDescriptor) => PropertyDescriptor)

      • (target, key, descriptor): PropertyDescriptor
      • Parameters

        • target: any
        • key: string | symbol
        • descriptor: PropertyDescriptor

        Returns PropertyDescriptor