Skip to main content

Interface: ModuleConfig

Module configuration of MnModule.

Hierarchy

  • Provider

    ModuleConfig

Properties

bootstrap

Optional bootstrap: ComponentConstructor | ComponentConstructor[]

Bootstrap component(s). This component(s) will be started when the module is loaded.

Defined in

packages/core/src/core/metadata/module.ts:32


declarations

Optional declarations: ComponentConstructor[]

Components usables by others components in this module.

Defined in

packages/core/src/core/metadata/module.ts:22


exports

Optional exports: ComponentConstructor[]

Components usables by any modules that import this module.

Defined in

packages/core/src/core/metadata/module.ts:27


imports

Optional imports: ModuleConstructor[]

Imported modules. Exported components by imported modules will be usable by components of this module.

Defined in

packages/core/src/core/metadata/module.ts:17


providers

Optional providers: ProviderConfig[]

Configure the injector to return a value for a token.

Inherited from

Provider.providers

Defined in

packages/core/src/core/metadata/provider.ts:61