augmenttoolkit / node_modules /@nestjs /common /module-utils /utils /get-injection-providers.util.d.ts
Leon4gr45's picture
Include updated package-lock.json (part 10)
cfbbc1a verified
Raw
History Blame Contribute Delete
430 Bytes
import { FactoryProvider, Provider } from '../../interfaces';
/**
*
* @param providers List of a module's providers
* @param tokens Injection tokens needed for a useFactory function (usually the module's options' token)
* @returns All the providers needed for the tokens' injection (searched recursively)
*/
export declare function getInjectionProviders(providers: Provider[], tokens: FactoryProvider['inject']): Provider[];