mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Using HandleCardPaymentWithoutElementsOptions type to be able to use { payment_method: '{PAYMENT_METHOD_ID}' } option as well (#39027)
This commit is contained in:
parent
549983f526
commit
716985520a
2
types/react-stripe-elements/index.d.ts
vendored
2
types/react-stripe-elements/index.d.ts
vendored
@ -51,7 +51,7 @@ export namespace ReactStripeElements {
|
||||
): Promise<stripe.PaymentMethodResponse>;
|
||||
handleCardPayment(
|
||||
clientSecret: string,
|
||||
options?: stripe.HandleCardPaymentOptions,
|
||||
options?: stripe.HandleCardPaymentWithoutElementsOptions,
|
||||
): Promise<stripe.PaymentIntentResponse>;
|
||||
handleCardSetup(
|
||||
clientSecret: string,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user