Perhaps you could use something like this?
@val
@scope("stripe.checkout.sessions")
external create : ({..}) => Promise.t<string> = "create"
Perhaps you could use something like this?
@val
@scope("stripe.checkout.sessions")
external create : ({..}) => Promise.t<string> = "create"