ConstructorSansProvider
Configures the Injector
to return an instance of a token.
interface ConstructorSansProvider {
deps?: any[]
}
Description
For more details, see the "Dependency Injection Guide".
Properties
Property | Description |
---|---|
deps?: any[]
|
A list of |
Usage notes
Example
@Injectable(SomeModule, {deps: []})
class MyService {}