ConstructorSansProvider
Configures the Injector to return an instance of a token.
interface ConstructorSansProvider {
deps?: any[]
}
参见
属性
| 属性 | 说明 |
|---|---|
deps?: any[] | A list of |
使用说明
@Injectable(SomeModule, {deps: []})
class MyService {}