Skip to content

DI Bag API / index / Module

Type Alias: Module<ExportedServices extends object, RequiredServices extends object, Constraints extends NeedConstraint = never, PublicProviders extends Registrations = PublicRegistrations<ExportedServices>> ​

ts
type Module<ExportedServices extends object, RequiredServices extends object, Constraints extends NeedConstraint = never, PublicProviders extends Registrations = PublicRegistrations<ExportedServices>> = DiBagModule<ExportedServices, RequiredServices, Constraints, PublicProviders>;

Defined in: index.ts:17

Type Parameters ​

Type ParameterDescription
ExportedServices-
RequiredServices-
Constraints-
PublicProviders-

Deprecated ​

Use DiBagModule instead.

Ordinary services. Checked composition. Explicit ownership.