Skip to content

@half0wl/container / ServiceDependencies

Type Alias: ServiceDependencies<TDeps> ​

ts
type ServiceDependencies<TDeps> = TDeps & {
  registry: IContainer;
};

Defined in: base.ts:33

The full set of dependencies passed to a service constructor.

Combines the user-defined TDeps with the container's registry, which is injected automatically by the container.

Type Declaration ​

registry ​

ts
registry: IContainer;

Type Parameters ​

Type ParameterDescription
TDepsUser-defined dependency interface