Typescript - Fix for ParsedURLQuery, is this dumb?
Following along with https://create.t3.gg/en/usage/trpc I was making a route to query and getting this error over and over. It kept telling me to make it a string,
My solution?
Is this incorrect or bad practice? Both are functional but I personally do not understand why it was erroring.

2 Replies