Skip to content

DI Bag API / index / DependencyReference

Type Alias: DependencyReference ​

ts
type DependencyReference = TokenBase | ReferenceBase;

Defined in: dependency-references.ts:27

A typed token or one of the positional dependency-reference handles.

See ​

https://dany-fedorov.github.io/di-bag/guides/tutorial.html#adapt-classes-and-positional-functions

Ordinary services. Checked composition. Explicit ownership.