UNPKG

@thisisagile/easy

Version:

Straightforward library for building domain-driven microservice architectures

7 lines (6 loc) 246 B
import { HttpStatus } from './HttpStatus'; import { Response } from './Response'; import { Code } from '../types/Id'; export declare function toResponse(status: HttpStatus | Code, body?: unknown, headers?: { [key: string]: any; }): Response;