Interface ClassProvider<T>

Type Parameters

  • T

Hierarchy

Properties

provide: Token<T>

An injection token.

transient?: true

Per default all instances are singleton (scoped to its scope). Enabling transient makes the Injector create always a new instance for every consumer.

useClass?: ClassType<T>

Class to instantiate for the token.

Generated using TypeDoc