How to make trpc output return strings and not dates
I am not using superjson
I would like for all of my trpc routes to return dates as strings. However, right now, the types coming from my router show the output as dates. Any idea on how I can get the types to show as strings?
1 Reply
You're definitely using a transformer if that's happening. By default they're strings