home
Preparing search index...
The search index is not available
@freshgum/typedi - v0.6.0
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@freshgum/typedi
ContainerIdentifier
Type alias ContainerIdentifier
Container
Identifier
:
string
|
Symbol
A container identifier. This value must be unique across all containers.
@freshgum/typedi -
v0.6.0
default
We export the default container under the Container alias.
Container
Reset
Strategy
The strategy to use when resetting a container.
Resolution
Constraint
Flag
A collection of bit-flags describing resolution constraints to append to a bitmask.
Cannot
Instantiate
Built
In
Error
Thrown when DI encounters a service depending on a built-in type (Number, String) with no factory.
Cannot
Instantiate
Value
Error
Thrown when DI cannot inject value into property decorated by `@Inject` decorator.
Container
Instance
The Container.
Container
Registry
Error
An error thrown from operations within the ContainerRegistry.
Service
Not
Found
Error
Thrown when requested service was not found.
Token
Used to create unique typed service identifier.
Container
Reset
Options
Options to pass when resetting a container.
Container
Tree
Visitor
A visitor for Container objects, which allows for extension of container functionality.
Create
Container
Options
A set of options to supplement the container creation process.
Dependency
Descriptor
A descriptor of a service declared as a dependency of another service.
Resolution
Constraints
Descriptor
A descriptor containing hints on how a certain identifier should be resolved
Service
Dependency
Options
A set of configuration options for a dependency of a service.
Service
Metadata
Service metadata is used to initialize service and store its state.
Visit
Retrieval
Options
A collection of options passed to ContainerTreeVisitor.visitRetrieval.
Any
Service
Dependency
In the context of the Service decorator, any item in the dependencies array can either
Constructable
Container
Conflict
Definition
A definition of what constitutes a conflict in the case of a pre-existing container
Container
Conflict
Strategy
A description of how TypeDI should react when a container
Container
Free
Strategy
A description of how TypeDI should react when a container
Container
Identifier
A container identifier. This value must be unique across all containers.
Container
Scope
Dependency
Pair
With
Configuration
A tuple containing a service identifier, along with a set of options for said dependency.
Extract
Token
Extract the type of a Token.
JSService
Service
Identifier
Unique service identifier.
Service
Options
The public ServiceOptions is partial object of ServiceMetadata and either one
Container
Host
Container
A special identifier which can be used to get the container
JSService
Marks class as a service that can be injected using Container.
Lazy
Create a lazy reference to a value.
Many
Resolve multiple services for this identifier via `getMany`.
Optional
If the identifier cannot be found, substitute it with `null`.
Self
Do not ascend the container tree to resolve this identifier.
Service
Marks class as a service that can be injected using Container.
Skip
Self
Begin searching from the parent container to resolve this identifier.
Generated using
TypeDoc
A container identifier. This value must be unique across all containers.