Skip to content

DI Bag API / index / TokenBase

Interface: TokenBase ​

Defined in: tokens.ts:12

The common type-only base for genuine typed-token handles. Create tokens through DiBag.createToken; fabricated structural values are not authenticated.

See ​

https://dany-fedorov.github.io/di-bag/guides/tutorial.html#use-typed-tokens-for-explicit-positional-injection

Extended by ​

Ordinary services. Checked composition. Explicit ownership.