Skip to content

API Reference


API Reference / @dasch-ng/utils / src / FactoryDep

Type Alias: FactoryDep<T> ​

FactoryDep<T> = ProviderToken<T> | readonly unknown[]

Defined in: libs/ng/utils/src/lib/provide-helpers.ts:20

A single entry of a factory provider's deps array.

Either the token whose value is passed to the factory parameter, or an array that combines the token with DI flags such as new Optional() or new SkipSelf().

Type Parameters ​

T ​

T

The type of the corresponding factory parameter

Released under the MIT License.