tsoa-next / @tsoa-next/runtime / TsoaResponse
نوع الياس: تسوا ريبنس<T, BodyType, HeaderType, ReturnType>
ts
type TsoaResponse<T, BodyType, HeaderType, ReturnType> = (status, data, headers?) => ReturnType;محددة في: packages/runtime/src/interfaces/response.ts:77
وظيفة المستجيب تم حقنها Res.
اتصل بالوظيفة برمز مركزي، حمولة، ورؤساء اختياريين للدائرة القصيرة، وإرسال رد من نوع ما.
البارامترات النوعية
T
T * النفقات* HttpStatusCodeLiteral
BodyType
BodyType
HeaderType
HeaderType * النفقات* IsValidHeader<HeaderType> = object
ReturnType
ReturnType = never
البارامترات
status
T
data
BodyType
headers?
HeaderType
العودة
ReturnType
Contributors
No contributors
Changelog
No recent changes
