MitakM
Convex Community4y ago
4 replies
Mitak

server-side types

Hey everyone! Loving the way convex functions work, and the various lambda easter eggs (also hi again James, Sujay and Presley! )

I'm trying to figure out how to configure type inference on server side usage of convex. Client side type inference works flawlessly in .tsx files using Next.js, but on server (meaning nextjs api) I'm getting "any" as the inferred type. Is there any info on how to set up type inference and thus also auto-completion to work when using ConvexHttpClient ?
image.png
Was this page helpful?