You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, you're quite right the type is missing an option and I've reported this to the Elements team to extend the type.
In the meantime, the actual value is supported and works as expected, so you can use that and temporarily use ts-ignore or ts-expect-error in the interim.
What happened?
captureMethod can be 'manual', 'automatic', or 'automatic_async', but only 'manual' and 'automatic' exist.
https://github.com/stripe/stripe-js/blob/master/types/stripe-js/elements-group.d.ts#L722
Environment
No response
Reproduction
No response
The text was updated successfully, but these errors were encountered: