The Wayback Machine - https://web.archive.org/web/20250910170128/https://angular.dev/api/core/ConstructorSansProvider
    • Overview
@angular/core

ConstructorSansProvider

interface
stable

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
HTTPS · web.archive.org
← Home