Skip to content

Commit

Permalink
Rename PMME option type
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-stripe committed Apr 19, 2023
1 parent d1ac970 commit 64eb5f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/stripe-js/elements/payment-method-messaging.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ export interface StripePaymentMethodMessagingElementOptions {
/**
* Payment methods to show messaging for.
*/
paymentMethodTypes: Array<'afterpay_clearpay' | 'klarna' | 'affirm'>;

/**
* @deprecated Use `paymentMethodTypes` instead.
*/
paymentMethods: Array<'afterpay_clearpay' | 'klarna' | 'affirm'>;

/**
Expand Down

0 comments on commit 64eb5f6

Please sign in to comment.