Skip to main content
Module

x/hono/mod.ts>TypedResponse

Web Framework built on Web Standards
Extremely Popular
Latest
type alias TypedResponse
import { type TypedResponse } from "https://deno.land/x/hono@v4.3.11/mod.ts";

Type Parameters

optional
T = unknown
optional
U extends StatusCode = StatusCode
optional
F extends ResponseFormat = T extends string ? "text" : T extends JSONValue ? "json" : ResponseFormat
definition: { data: T; status: U; format: F; }