Register a dependency.
The identifier of the dependency.
The dependency to register.
If true, the dependency is deprecated => a warning is logged when the dependency is resolved.
Resolve a dependency
The identifier of the dependency
If true, throws an error if the dependency is not found
The resolved dependency or undefined if the dependency is not found
Static
getStatic
registerStatic
resolve
TSInjex: Dependency Injection Container