UNPKG

420 BTypeScriptView Raw
1/**
2 * Decorator that makes a module global-scoped.
3 *
4 * Once imported into any module, a global-scoped module will be visible
5 * in all modules. Thereafter, modules that wish to inject a service exported
6 * from a global module do not need to import the provider module.
7 *
8 * @see [Global modules](https://docs.nestjs.com/modules#global-modules)
9 *
10 * @publicApi
11 */
12export declare function Global(): ClassDecorator;