@lppedd/di-wise-neo - v0.22.0
    Preparing search index...

    Function AutoRegister

    • Class decorator that enables auto-registration of an unregistered class when the class is first resolved from the container.

      Example:

      @AutoRegister()
      class Wizard {}

      const wizard = container.resolve(Wizard);
      container.isRegistered(Wizard); // => true

      Type Parameters

      • This extends object

      Returns ClassDecorator<This>