AppRouter nested routers/procedures are any when imported in monorepo
(11.0.0-rc.828) Nested routers or procedures have 'any' types when imported in monorepo (vite, trpc). See utils router in the photo. I am wondering is it some tsconfig madness?
Typescript: 5.7.2 through all apps


Solution:Jump to solution
fixed, needed to add
composite: true
in the api package as it was both used in web app for types and in api app.1 Reply
Solution
fixed, needed to add
composite: true
in the api package as it was both used in web app for types and in api app.