DI Bag API / index / AliasOutput
Type Alias: AliasOutput<R extends Registrations, T>
ts
type AliasOutput<R extends Registrations, T> = T extends string ? T extends keyof R ? ProviderOutput<R[T]> : never : TokenValue<T>;Defined in: alias-types.ts:20
Resolve the service type exposed by a possible alias target.
Type Parameters
| Type Parameter | Description |
|---|---|
R | - |
T | - |
See
https://dany-fedorov.github.io/di-bag/guides/tutorial.html#give-a-dependency-another-lookup-name