Optional
Readonly
defaultOptional
Readonly
exportsThe subset of providers
, modules
or blueprints
that
are provided by this module and should be available in other modules which import this module.
Readonly
idThe module ID
.
Note: It doesn't have to be unique, however, the AppModule
id is a reserved id and it'll throw an error if used.
Optional
Readonly
importsImport additional modules
or blueprints
into this module.
Optional
Readonly
isWhen a module is set to be global
, it'll be automatically imported into the AppModule
during its initialization.
Note: Importing a global
module into another module does nothing.
Defaults to false
.
Optional
Readonly
onThe provided callbacks will be invoked when the dispose
method is invoked.
See OnCleanupOptions.
Optional
Readonly
onCallback which will be invoked once the module container has been initialized and the providers resolved.
The instance of the module.
Optional
Readonly
onThe provided callbacks will be invoked when the reset
method is invoked.
See OnCleanupOptions.
Optional
Readonly
providersThe providers
that will be instantiated by the container and that may be shared at least across this module.
The default InjectionScope to be used when a ProvidersDefinition | Provider does not have a defined
scope
.Defaults to InjectionScope.Singleton.