Ronin
Ronin•2mo ago

Cannot access the "page" return type for pagination

I am working with the pagination function provided by convex and I was trying to make a messaging feature for the application I am working on but I cannot access the "page" return type for my application. I get the toString and toLocaleString options instead. How can i make it work?
No description
No description
4 Replies
Ronin
RoninOP•2mo ago
for more context I have implimented the paginate in my convex query function
No description
FleetAdmiralJakob 🗕 🗗 🗙
Normally you infer values like that in Convex: FunctionReturnType<typeof api.messages.getMessages>
Ronin
RoninOP•2mo ago
yeah I read about it though I found a way to fix it now it's fixed thanks for replying

Did you find this page helpful?