StaticClassSansProvider
Configures the Injector
to return an instance of useClass
for a token. Base for StaticClassProvider
decorator.
interface StaticClassSansProvider {
useClass: Type<any>
deps: any[]
}
属性
属性 | 说明 |
---|---|
useClass: Type<any> | An optional class to instantiate for the |
deps: any[] | A list of |