[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/core/StaticClassSansProvider [Back]  [Original]

StaticClassSansProvider Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/core

StaticClassSansProvider

interface
stable

Configures the Injector to return an instance of useClass for a token. Base for StaticClassProvider decorator.

On this page

    arrow_upward_alt Back to the top

    API

        
          interface StaticClassSansProvider {  useClass: Type<any>;  deps: any[];}
        
        

    useClass

    Type<any>

    An optional class to instantiate for the token. By default, the provide class is instantiated.

    deps

    any[]

    A list of tokens to be resolved by the injector. The list of values is then used as arguments to the useClass constructor.

    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page