Token<T
> = Type
<T
> | string
| symbol
A token used to uniquely identify a provider in the DI container.
Tokens can be:
- A class constructor (
Type<T>
)
- A
string
- A
symbol
Type Parameters
T
= any
The type of the value represented by this token. Defaults to any
.
See
Type