RPC typing is behaving weird
I'm not sure if this might be an issue with my setup or with Hono itself, but I'm a bit at a loss here
I have a Hono router for
For this I take my
Now I import
I thought it might by my Typescript version or any other version but they work fine. Any other type exported from my backend to frontend works too. Anyone might have an idea here?
Thanks in advance!
I have a Hono router for
projects which I want to use as a projectsClient with hc.For this I take my
projects Router and extract the Type like this:Now I import
ProjectsRouter in my frontend and my "/" output changes to [x: string]: any;I thought it might by my Typescript version or any other version but they work fine. Any other type exported from my backend to frontend works too. Anyone might have an idea here?
Thanks in advance!