W3cubDocs

/Angular 12

ProviderToken

type-alias

Token that can be used to retrieve an instance from an injector or through a query.

type ProviderToken<T> = Type<T> | AbstractType<T> | InjectionToken<T>;

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/core/ProviderToken