Skip to content
所有標籤

#hono-rpc

1 篇文章

Hono RPC:從 route implementation 推導 Fetch client 型別

Hono RPC 匯出 route 的 `typeof AppType`,讓 `hc` client 推導 input、response body 與 status code;它共享的是 TypeScript type,不是獨立 wire schema。