Function Bean

  • Instantiates a new instance of the singleton and registers it

    Parameters

    • target: any
    • _context: ClassDecoratorContext<(new (...args) => any)>

    Returns void

    Decorator