Hey I'm getting a really frusttrating error where TypeScript is not inferring types in a monorepo. I'm building a monorepo using Nextjs for the frontend and bun & hono for the backend. I'm trying to use hono rpc and I'm exporting the type of my router like this in my app.ts file in my backend project:
import createApp from '@/lib/create-app' import configureOpenAPI from '@/lib/configure-open-api' import index from '@/routes/index.route' import users from '@/routes/user/user.index' import connects from '@/routes/connects/connects.index'