Interface: ConfigBoundModuleAsyncOptions<T>
Defined in: packages/nestjs/src/interfaces/config-bound-module-options.interface.ts:48
Async configuration options for ConfigBoundModule. Use with forRootAsync() to configure the module with dependencies from other modules.
Extends
Pick<ModuleMetadata,"imports">
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends ConfigSchema | ConfigSchema |
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
imports? | ( | Type<any> | ForwardReference<any> | DynamicModule | Promise<DynamicModule>)[] | Optional list of imported modules that export the providers which are required in this module. | Pick.imports | node_modules/@nestjs/common/interfaces/modules/module-metadata.interface.d.ts:18 |
inject? | unknown[] | - | - | packages/nestjs/src/interfaces/config-bound-module-options.interface.ts:57 |
isGlobal? | boolean | - | - | packages/nestjs/src/interfaces/config-bound-module-options.interface.ts:51 |
useClass? | Type<ConfigBoundOptionsFactory<T>> | - | - | packages/nestjs/src/interfaces/config-bound-module-options.interface.ts:53 |
useExisting? | Type<ConfigBoundOptionsFactory<T>> | - | - | packages/nestjs/src/interfaces/config-bound-module-options.interface.ts:52 |
useFactory? | (...args) => | ConfigBoundModuleOptions<T> | Promise<ConfigBoundModuleOptions<T>> | - | - | packages/nestjs/src/interfaces/config-bound-module-options.interface.ts:54 |