• 개요
@angular/core

StaticClassSansProvider

인터페이스
안정화

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

API

    
      interface StaticClassSansProvider {}
    
    

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.

상세 내용으로 이동