Web Dev CodyW
Convex Community2y ago
2 replies
Web Dev Cody

A way to get return type of api endpoint

If I have a query or mutation, is there a way to get the resolved return type from the method?

for example, I have a query called api.plans.queries.getExamplePlans, but in my react application I want the type of what this returns.
Was this page helpful?