Tempo
Tempo
HHono
Created by Charlie Lamb on 10/23/2024 in #help
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
"references": [
{ "path": "../backend/tsconfig.json" }
],
"references": [
{ "path": "../backend/tsconfig.json" }
],
now my type inference are working properly. Thanks to this github issue : https://github.com/honojs/hono/issues/3485
5 replies
HHono
Created by Charlie Lamb on 10/23/2024 in #help
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
HHono
Created by Tempo on 5/23/2024 in #help
Having middleware routes in RPC
No description
5 replies