HonoH
Hono•8mo ago
owopi

client of type unknown

I am having issues with the type inference of the client when using hono rpc
I've read https://hono.dev/docs/guides/rpc, https://hono.dev/examples/grouping-routes-rpc, and https://github.com/honojs/hono/issues/3148 and have adjusted my code accordingly, but am still getting this issue
please see my hono code: https://github.com/picafe/cs-ia/tree/hono/backend/src/routes and https://github.com/picafe/cs-ia/tree/hono/backend/src/index.ts
client is here: https://github.com/picafe/cs-ia/blob/hono/client/src/lib/client.ts
apologies in advance for my terrible code
feel free to ask for any more details, any help would be very appreciated 🙏
GitHub
What version of Hono are you using? 4.5.0 What runtime/platform is your app running on? Bun What steps can reproduce the bug? I have a very basic application structure, which I was hoping to be abl...
Was this page helpful?