Type alias MiddlewareResponse<T>
MiddlewareResponse<T>: { body: T; error?: HttpErrorType; headers?: Record<string, any>; reject: Function; request?: MiddlewareRequest; resolve: Function; statusCode: number; } Type declaration
body: T
Optional
headers?: Record<string, any>
reject: Function
resolve: Function
statusCode: number