Optional
parent: InjectorModule<any, InjectorModule<any, any>>Optional
configProtected
exportedProtected
exportsOptional
injectorThe built injector. This is set once an Injector for this module has been created.
Optional
parentProtected
Optional
preparedWhether this module is for the root module. All its providers are automatically exported and moved to the root level.
Rest
...controller: any[]Adds a new import at the end.
Rest
...modules: InjectorModule<any, InjectorModule<any, any>>[]Adds a new import at the beginning. Since import order matters, it might be useful to import a module first so its exported providers can be overwritten by imports following this module.
Rest
...modules: InjectorModule<any, InjectorModule<any, any>>[]Rest
...provider: ProviderWithScope<any>[]Protected
assertWhen the module exports providers the importer doesn't want, then disableExports
disable all exports.
Makes all the providers, controllers, etc available at the root module, basically exporting everything.
Prepared the module for a injector tree build.
Protected
handleReverts the root default setting to false.
Allows to register additional setup calls for a provider in the whole module tree. The injector token needs to be available in the local module providers.
Returns a object that reflects the API of the given ClassType or token. Each call is scheduled and executed once the provider is created by the dependency injection container.
Optional
classTypeOrToken: ReceiveType<T>Allows to register additional setup calls for a provider in this module. The injector token needs to be available in the local module providers. Use setupGlobalProvider to register globally setup calls (not limited to this module only).
Returns a object that reflects the API of the given ClassType or token. Each call is scheduled and executed once the provider is created by the dependency injection container.
Optional
classTypeOrToken: ReceiveType<T>Generated using TypeDoc
Reflection
never