Interface FactoryProvider<T, U>

Maps an injection token to a factory method.

Type Parameters

  • T

  • U

Hierarchy

  • FactoryProvider

Properties

Properties

provide: InjectionToken<T>
useFactory: (() => U)

Type declaration

    • (): U
    • Returns U

Generated using TypeDoc