tezx
Version:
TezX is a modern, ultra-lightweight, and high-performance JavaScript framework built specifically for Bun. It provides a minimal yet powerful API, seamless environment management, and a high-concurrency HTTP engine for building fast, scalable web applicat
6 lines (5 loc) • 384 B
TypeScript
import { Context } from "../index.js";
import { HttpBaseResponse, ResponseHeaders } from "../types/index.js";
export declare let notFoundResponse: (ctx: Context) => HttpBaseResponse;
export declare function mergeHeaders(existing?: Headers, init?: ResponseHeaders): Headers;
export declare function handleErrorResponse(err: Error | undefined, ctx: Context): Promise<HttpBaseResponse>;