Tempo
Hono RPC TypeScript error
Ok, just some follow up, I could fix the issue on my side:
1: add
"composite": true
in your backend tsconfig compilerOptions
2: add reference to the backend config in your frontend tsconfig
now my type inference are working properly.
Thanks to this github issue : https://github.com/honojs/hono/issues/34855 replies
Hono RPC TypeScript error
Hi, I stumbled exactly on the same issue yesterday.
I have tried with the compiled method (https://hono.dev/docs/guides/rpc#compile-your-code-before-using-it-recommended) but the issue remain
Could you solve your issue ?
5 replies