Ts.ED
Getting started
Configuration
Docs
  • Overview

    • Controllers
    • Providers
    • Models
    • Converters
    • Middlewares
    • Filters
    • Interceptors
    • Authentication
    • Hooks
  • Advanced

    • Request data persistence
    • Injection scopes
    • Custom providers
    • Custom endpoint decorators
    • Testing
    • Api Reference
Guide
  • Examples
  • Session & cookies
  • Passport.js
  • TypeORM
  • Mongoose
  • GraphQL
  • Seq
  • Socket.io
  • Swagger
  • Validation with AJV
  • Upload files
  • Serve static files
  • Templating
  • Throw HTTP exceptions
  • Customize 404
  • AWS project
  • Jest
4.x
Getting started
Configuration
Docs
  • Overview

    • Controllers
    • Providers
    • Models
    • Converters
    • Middlewares
    • Filters
    • Interceptors
    • Authentication
    • Hooks
  • Advanced

    • Request data persistence
    • Injection scopes
    • Custom providers
    • Custom endpoint decorators
    • Testing
    • Api Reference
Guide
  • Examples
  • Session & cookies
  • Passport.js
  • TypeORM
  • Mongoose
  • GraphQL
  • Seq
  • Socket.io
  • Swagger
  • Validation with AJV
  • Upload files
  • Serve static files
  • Templating
  • Throw HTTP exceptions
  • Customize 404
  • AWS project
  • Jest
4.x
  • IModuleOptions

    • Overview
      • Members

      # IModuleOptions Decorator

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

      # Overview

      interface IModuleOptions extends IDIConfigurationOptions {
          imports?: TokenProvider[];
          scope?: ProviderScope;
          [key: string]: any;
      }

      # Members

      imports?: TokenProvider[]

      Define dependencies to build the provider


      scope?: ProviderScope

      [key: string]: any

      Caught a mistake or want to contribute to the documentation? Edit on Github

      Contribute

      Help shape the future of Ts.Ed by joining our team and send us pull requests via our GitHub repository!

      License

      Released under the MIT License - © Copyright 2016 - 2019.

      0