The type of the class to be registered.
The identifier used to register the class in the DI container.
Optional
deprecated: booleanIf true, the dependency is deprecated => a warning is logged when the dependency is resolved.
A function that is applied as a decorator to the class.
Rest
...args: unknown[]
A decorator to register a class in the DI (Dependency Injection) container.