tRPCttRPC
Powered by
TaylorFayT
tRPC•3y ago•
8 replies
TaylorFay

trpc output dates are typed as strings and not dates

I'm using superjson as a transformer. When I query my data, it shows that fields that should be dates are typed as strings. How can I get them to be typed as dates?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How to make trpc output return strings and not dates
TaylorFayTTaylorFay / ❓-help
3y ago
My TRPC hooks are getting typed as `any`
segment_treeSsegment_tree / ❓-help
2y ago
procedures on routers are typed any
allenwhunAallenwhun / ❓-help
10mo ago