ClassSansProvider
Configures the Injector
to return a value by invoking a useClass
function. Base for ClassProvider
decorator.
interface ClassSansProvider {
useClass: Type<any>
}
子接口
参见
属性
属性 | 说明 |
---|---|
useClass: Type<any> | Class to instantiate for the |