# Module Decorator

Module
import { Module } from "@tsed/di"
Source/packages/di/src/decorators/module.ts

# Overview

function Module(options?: Partial<IModuleOptions>): any;

# Description

Declare a new Ts.ED module

# Options

  • imports: List of Provider which must be built by injector before invoking the module
  • resolvers: List of external DI must be used to resolve unknown provider
  • deps: List of provider must be injected to the module constructor (explicit declaration)