UNPKG

@nestjs/common

Version:

Nest - modern, fast, powerful node.js web framework (@common)

16 lines (15 loc) 582 B
import 'reflect-metadata'; /** * Defines the module * - `modules` - the set of the 'imported' modules * - `controllers` - the list of controllers (e.g. HTTP controllers) * - `components` - the list of components that belong to this module. They can be injected between themselves. * - `exports` - the set of components, which should be available for modules, which imports this module * @param obj {ModuleMetadata} Module metadata */ export declare function Module(obj: { modules?: any[]; controllers?: any[]; components?: any[]; exports?: any[]; }): ClassDecorator;