Type alias TsoaResponse<T, BodyType, HeaderType>

TsoaResponse<T, BodyType, HeaderType>: ((status: T, data: BodyType, headers?: HeaderType) => any)

Type Parameters

Type declaration

    • (status: T, data: BodyType, headers?: HeaderType): any
    • Parameters

      • status: T
      • data: BodyType
      • Optional headers: HeaderType

      Returns any

Generated using TypeDoc