The inferred type of 'client' cannot be named without a reference to
Hono bros I need your help with a problem I can't figure out.
My setup is a monorepo with this stucture. I have done this way to avoid leakage of server code into my frontend code.
root
/apps
/backend
/server
/packages
/hc-client (to avoid server leakage code)
/drizzle
server/src/app.tsx
hc-client/src/index.ts
And here I have an error on the client:
So far I have not found a solution to this
My setup is a monorepo with this stucture. I have done this way to avoid leakage of server code into my frontend code.
root
/apps
/backend
/server
/packages
/hc-client (to avoid server leakage code)
/drizzle
server/src/app.tsx
hc-client/src/index.ts
And here I have an error on the client:
So far I have not found a solution to this