I'm not sure how to explain this, but I was going through this article and trying out the stripe checkout integration (but modified to fit my use-case): https://stack.convex.dev/stripe-with-convex
However, once I try to return a value from the pay action, the types start to fail within my function. I've attached screenshots to try and explain what I mean.
I've actually seen this before, and thought it was just how actions were supposed to work. This doesn't appear to be the case, though, so I'm curious if there's something weird about my setup or if anyone has ran into this situation before.
Worse yet, saving this file and allowing convex to check the typescript results in 9 other cascading typescript errors across 4 files. It's very strange.
Any tips for diagnosing this or updating my configuration? I'm on the latest version of the convex library.
Thanks for any insights.