@thisisagile/easy
Version:
Straightforward library for building domain-driven microservice architectures
12 lines (11 loc) • 318 B
TypeScript
import { HttpStatus } from './HttpStatus';
import type { RestResult } from './RestResult';
import { TypeGuard } from '../types/TypeGuard';
export type Response = {
status: HttpStatus;
headers?: {
[key: string]: any;
};
body: RestResult;
};
export declare const isResponse: TypeGuard<Response>;