ConfigurableModuleOptionsFactory

Interface that must be implemented by the module options factory class. Method key varies depending on the "FactoryClassMethodKey" type argument.


type ConfigurableModuleOptionsFactory<ModuleOptions, FactoryClassMethodKey extends string> = Record<`${FactoryClassMethodKey}`, () => Promise<ModuleOptions> | ModuleOptions>;