Inject
decorator
Warning: String tokens are not recommended.
token
any
A DI token that maps to the dependency to be injected.
Description
Warning: String tokens are not recommended.
Use an InjectionToken or a class as a token instead.
Jump to details