© 2026 Hedgehog Software, LLC
import { hc } from "hono/client" import app from "./openapi" import { serve } from "@hono/node-server" serve(app) const client = hc<typeof app>("http://localhost:3000") const res = await client["calendar-debug"].$get({ /* ^? const res: ClientResponse<{ page: number; limit: number; total: number; events: { type: string; title: string; status: string; clubId: string; .... Type of res seems to be good */ query: { page: "1", limit: "10", clubId: "1", sportId: "1", }, }) const data = await res.json() // ^? unknown console.log(data)