W3cubDocs

/Angular 12

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://v12.angular.io/api/core/ClassSansProvider