Amir
Amir7mo ago

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

No description
No description
6 Replies
Amir
Amir7mo ago
anyone has this kinda experience ?
Amir
Amir7mo ago
its show correct in router side
No description
Amir
Amir7mo ago
but 'any' in client side
BeBoRE
BeBoRE7mo ago
Did you setup your typescript correctly with strict?
BeBoRE
BeBoRE7mo ago
FAQ / Troubleshooting | tRPC
Collection of frequently asked questions with ideas on how to troubleshoot & resolve them.
Amir
Amir7mo 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