Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
client of type unknown - Hono
H
Hono
•
10mo ago
•
26 replies
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
'client' is of type 'unknown' when using route · Issue #3148 · ho...
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
.
.
.
Hono
Join
This is the official Hono discord server for the community
4,418
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
hc instance is of `unknown` type when using `@hono/zod-openapi`
H
Hono / help
3mo ago
Why does .openapi(route, handler) return unknown type in client.ts when using OpenAPIHono?
H
Hono / help
10mo ago
The inferred type of 'client' cannot be named without a reference to
H
Hono / help
10mo ago
Losing type information on Client for AppType
H
Hono / help
2y ago