Different types when I am exporting from the API & when using on the client side. #2900
Unanswered
HarshitKmr10
asked this question in
Q&A
Replies: 2 comments 1 reply
-
please show me minimal project? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, I faced a similar issue. I think it arises when using I fixed it by updating the paths in the apps/web/tsconfig.json file to include the path to the api folder's src.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm building an application using turborepo with the following structure:
I'm keen on utilizing Hono's RPC functionality to export API route types from the api app and integrate them into my Next.js application in the web app. The issue is, the types are different when I am exporting from the API and when I am using on the client side. Here are the relevant screenshots for assistance:
Beta Was this translation helpful? Give feedback.
All reactions