Do paginated queries have typescript support?
Having trouble getting typescript to work with paginated queries. Maybe I'm defining something wrong?
5 Replies
it should be supported. can you share relevant parts of your code, and the errors you're seeing?
Yeah sure
here's an example paginated query in typescript https://github.com/ldanilek/memory-palace/blob/main/convex/memories.ts
GitHub
memory-palace/memories.ts at main · ldanilek/memory-palace
Contribute to ldanilek/memory-palace development by creating an account on GitHub.
and the call-site https://github.com/ldanilek/memory-palace/blob/main/pages/index.tsx#L86
That helped a ton. I must've been defining something wrong