DI Bag API / index / SharedAliasProviders
Type Alias: SharedAliasProviders<R extends Registrations, Parent extends Registrations, S extends readonly unknown[]>
ts
type SharedAliasProviders<R extends Registrations, Parent extends Registrations, S extends readonly unknown[]> = [
AliasKeys<R, S>
] extends [never] ? R : Omit<R, AliasKeys<R, S>> & {
[K in AliasKeys<R, S>]: SharedAlias<R, Parent, K>;
};Defined in: scope-types.ts:91
Named mapping keeps reflected package declarations inside this checked generic boundary.
Type Parameters
| Type Parameter | Description |
|---|---|
R | - |
Parent | - |
S | - |
See
https://dany-fedorov.github.io/di-bag/guides/tutorial.html#create-child-containers