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
  • Res

    • Overview
      • Description

      # Res Decorator

      Module
      import { Res } from "@tsed/common"
      Source/packages/common/src/mvc/decorators/params/response.ts

      # Overview

      type Res = Express.Response;
      function Res(): ParameterDecorator;

      # Description

      Request service.

        Other
        topics

      • Session & cookies
      • Passport.js
      • TypeORM
      • Mongoose
      • GraphQL
      • Socket.io
      • Swagger
      • AJV
      • Custom validator
      • Multer
      • Serve static files
      • Templating
      • Throw HTTP Exceptions
      • Customize 404
      • AWS
      • Jest
      • Seq
      • Controllers
      • Providers
      • Model
      • Converters
      • Middlewares
      • Filters
      • Interceptors
      • Authentication
      • Hooks
      • Injection scopes
      • Custom providers
      • Custom endpoint decorator
      • Testing

      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