DI Bag API / index / UnsharedAliases
Type Alias: UnsharedAliases<R extends Registrations>
ts
type UnsharedAliases<R extends Registrations> = [SharedKeys<R>] extends [never] ? R : Omit<R, SharedKeys<R>> & {
[K in SharedKeys<R>]: Unshared<R[K]>;
};Defined in: scope-types.ts:77
Remove parent-sharing routes when creating a fresh child or independent container.
Type Parameters
| Type Parameter | Description |
|---|---|
R | - |
See
https://dany-fedorov.github.io/di-bag/guides/tutorial.html#create-child-containers