Interface ExistingProvider<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.

useExisting: ClassType<T>

Existing token to return. (equivalent to injector.get(useExisting))

Generated using TypeDoc