Is there an easier way to write an
Is there an easier way to write an
OrderedQuery
type? I think I managed everything else except the fieldPaths
parameter but its messy lol1 Reply
here
fieldPaths
is wrong and I can't figure out why
for anyone who needs it in the future I did this:
let orderedQuery: ReturnType<typeof listingsQuery.order>;
I feel like such a solution can be used anywhere lol, kinda feels like cheating but its just a great feature