angular / 11.2.14 / api / core / classsansprovider.html /

ClassSansProvider

interface

Configures the Injector to return a value by invoking a useClass function. Base for ClassProvider decorator.

interface ClassSansProvider {
  useClass: Type<any>
}

Child interfaces

See also

Properties

Property Description
useClass: Type<any>

Class to instantiate for the token.

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