Configures the Injector to return a value by invoking a useClass function. Base for ClassProvider decorator.
API
interface ClassSansProvider {
useClass: Type<any>;
}
useClass
Type<any>Class to instantiate for the token.
Configures the Injector to return a value by invoking a useClass function. Base for ClassProvider decorator.
interface ClassSansProvider {
useClass: Type<any>;
}
Type<any>Class to instantiate for the token.
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/ClassSansProvider