interface
Configures the Injector
to return an instance of a token.
interface ConstructorSansProvider { deps?: any[] }
Property | Description |
---|---|
deps?: any[] | A list of |
@Injectable(SomeModule, {deps: []}) class MyService {}
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/core/ConstructorSansProvider