Amir
Amir8mo ago

queries and mutations has wrong response type in client ( monorepo )

No description
No description
6 Replies
Amir
AmirOP8mo ago
anyone has this kinda experience ?
Amir
AmirOP8mo ago
its show correct in router side
No description
Amir
AmirOP8mo ago
but 'any' in client side
BeBoRE
BeBoRE8mo ago
Did you setup your typescript correctly with strict?
BeBoRE
BeBoRE8mo ago
FAQ / Troubleshooting | tRPC
Collection of frequently asked questions with ideas on how to troubleshoot & resolve them.
Amir
AmirOP8mo ago
thank you bro when you import a library like this in backend: @/lib/pocketbase its cant detect the types in frontend side typescript is very powerful and sometimes weird