[Typescript] Client query/mutate has any type
So, apparently AppRouter type has all info about existent queries/mutations, but shows <any> for input and Promise<any> for output of query/mutation.
How to fix it ?
How to fix it ?


Solution
My problem lies in my project's monorepo architecture and reexporting schemas within monorepo and then infering types with zod