Issue Inferring Type on Frontend with ElectroDB Query Return Statement
Hi all,
I am using ElectroDB to work with DynamoDB, and I have a Lambda function that uses tRPC that uses ElectroDB commands to read/write to my database.
I have a weird situation where the backend tRPC can infer the return type properly from my ElectroDB queries, but on the frontend (React), it says that the useQuery()useQuery() response is of type anyany
Attached screenshots show this
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
t
tRPC
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.