Register a dependency.
The identifier of the dependency.
The dependency to register.
Optionaldeprecated: booleanIf true, the dependency is deprecated => a warning is logged when the dependency is resolved.
Register a deprecated dependency.
The identifier of the dependency.
The dependency to register.
Optionaldeprecated: trueA warning is logged when the dependency is resolved.
Register a dependency.
The identifier of the dependency.
The dependency to register.
Optionaldeprecated: falseNo warning is logged when the dependency is resolved.
Resolve a dependency
The identifier of the dependency
Optionalnecessary: booleanIf true, throws an error if the dependency is not found
The resolved dependency or undefined if the dependency is not found
Resolve a necessary dependency.
The identifier of the dependency.
Optionalnecessary: trueIf true, throws an error if the dependency is not found.
The resolved dependency.
Resolve a non necessary dependency
The identifier of the dependency
Optionalnecessary: falseNot necessary, does not throw an error if the dependency is not found.
The resolved dependency or undefined if the dependency is not found
Static TSInjex Interface