UNPKG

380 BTypeScriptView Raw
1/// <reference types="express" />
2import { OperationRetval, Response } from './types';
3/**
4 * Writes the result from Application controller method
5 * into the HTTP response
6 *
7 * @param response - HTTP Response
8 * @param result - Result from the API to write into HTTP Response
9 */
10export declare function writeResultToResponse(response: Response, result: OperationRetval): void;