1 | import { Type } from '../type.interface';
|
2 | import { ModuleMetadata } from './module-metadata.interface';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export interface DynamicModule extends ModuleMetadata {
|
11 | |
12 |
|
13 |
|
14 | module: Type<any>;
|
15 | /**
|
16 | * When "true", makes a module global-scoped.
|
17 | *
|
18 | * Once imported into any module, a global-scoped module will be visible
|
19 | * in all modules. Thereafter, modules that wish to inject a service exported
|
20 | * from a global module do not need to import the provider module.
|
21 | *
|
22 | * @default false
|
23 | */
|
24 | global?: boolean;
|
25 | }
|