ServiceKey<T>
Can be used to register a service that lives not in a class.
Type Parameters
T
T
Constructors
Constructor
ts
new ServiceKey<T>(name?): ServiceKey<T>;Parameters
name?
string
Returns
ServiceKey<T>
Methods
[toPrimitive]()
ts
toPrimitive: string | ServiceKey<T>;Returns
string | ServiceKey<T>