ConstructorSansProvider
Configures the Injector
to return an instance of a token.
interface ConstructorSansProvider {
deps?: any[]
}
说明
For more details, see the "Dependency Injection Guide".
属性
属性 | 说明 |
---|---|
deps?: any[] | A list of |
使用说明
Example
@Injectable(SomeModule, {deps: []})
class MyService {}