Token · Core API
type Token<T> = object;A unique, typed key used to register and resolve a dependency.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
|
|
Properties
Section titled “Properties”readonly id: symbol;Runtime identity of the token.
Tokens with the same name still have different identities.
readonly name: string;Human-readable name used in error messages and diagnostics.