• Overview
@angular/core

ConstructorSansProvider

interface

Configures the Injector to return an instance of a token.

API

  
    interface ConstructorSansProvider {}
  
  

deps

any[] | undefined

A list of tokens to be resolved by the injector.

Usage Notes

          
@Injectable(SomeModule, {deps: []})class MyService {}
Jump to details