tsoa-next
Preparing search index...
tsoa-next
TsoaResponse
Type Alias TsoaResponse<T, BodyType, HeaderType, ReturnType>
TsoaResponse
:
(
status
:
T
,
data
:
BodyType
,
headers
?:
HeaderType
)
=>
ReturnType
Type Parameters
T
extends
HttpStatusCodeLiteral
BodyType
HeaderType
extends
IsValidHeader
<
HeaderType
>
=
object
ReturnType
=
never
Type Declaration
(
status
:
T
,
data
:
BodyType
,
headers
?:
HeaderType
)
:
ReturnType
Parameters
status
:
T
data
:
BodyType
Optional
headers
:
HeaderType
Returns
ReturnType
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
tsoa-next
Loading...