Skip to content

API Reference


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

Type Alias: FactoryDeps<U> ​

FactoryDeps<U> = { [K in keyof U]: FactoryDep<U[K]> }

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

Maps the parameter types of a factory function to the DI tokens that provide them.

Type Parameters ​

U ​

U extends readonly unknown[]

Tuple type of the factory function parameters

Released under the MIT License.