Lounès
Types issues upgrading to v11, `never` when using t.router
https://trpc.io/docs/server/merging-routers#inline-sub-router as per the doc, both should work but only using the plain object doesn't infer the router to
never
5 replies
Types issues upgrading to v11, `never` when using t.router
Seems related to https://discord.com/channels/867764511159091230/1091331399551828078/1091331399551828078.
I'm facing the same issue, only for nested routers. If I merge two routers instead of nesting them, typings work as expected.
5 replies