Skip to content

Commit adebc53

Browse files
Add missing link PaymentWalletsOption type (#759)
* add link as PE PaymentWalletOption * formatting
1 parent 4ee57a3 commit adebc53

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/types/src/valid.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ const paymentElement: StripePaymentElement = elements.create('payment', {
502502
wallets: {
503503
applePay: 'never',
504504
googlePay: 'auto',
505+
link: 'auto',
505506
},
506507
layout: {
507508
type: 'accordion',

types/stripe-js/elements/payment.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ export type PaymentWalletOption = 'auto' | 'never';
216216
export interface PaymentWalletsOption {
217217
applePay?: PaymentWalletOption;
218218
googlePay?: PaymentWalletOption;
219+
link?: PaymentWalletOption;
219220
}
220221

221222
export type Layout = 'tabs' | 'accordion' | 'auto';

0 commit comments

Comments
 (0)