A function that can extend a factory.
The type of the service.
The type of the ServiceMap that the service depends on.
A function that can create a service using a container of its dependencies.
A map of container keys to factory functions (used internally).
A map of container keys to the type of the service they represent.
The type of the container key.
The type of the service.
Get the type of a service from a ServiceMap, using its key.
The service map.
The service key.
Get all property values T[]
from any object that is a Record<ContainerKey, T>
The type of the property values.
The object to extract the values from.
The extracted values.
Get all the container keys from any object that is a Record<ContainerKey, unknown>
The type of the container keys.
The object to extract the keys from.
The extracted keys.
Create a new ContainerBuilder instance.
ContainerBuilder
Generated using TypeDoc
Container keys can be
symbol
s orstring
s. Usingunique symbol
s is recommended.