T
tRPC

❓-help

Expression produces a union type that is too complex to represent

Ttcltk4/25/2023
Hi! I have started to encounter the above on error on pretty simple react components using trpc v10 useQuery hooks + zod for validation. Pretty standard type inference all the way. Arbitrary blocks of jsx are marked with that error. I am looking for pointers on how to debug this. Any help is appreciated! Tim.
Ttcltk4/25/2023
NVM, it came from a documented issue in chakra UI since typescript 5. sorry about that

Looking for more? Join the community!