mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 Merge PR #65834 stripe-v3: Add disableLink by @qqilihq
* stripe-v3: Add disableLink * Add test * Update types/stripe-v3/stripe-v3-tests.ts Co-authored-by: Marko Kaznovac <kaznovac@users.noreply.github.com> --------- Co-authored-by: Marko Kaznovac <kaznovac@users.noreply.github.com>
This commit is contained in:
2
types/stripe-v3/index.d.ts
vendored
2
types/stripe-v3/index.d.ts
vendored
@@ -17,6 +17,7 @@
|
||||
// Kohei Matsubara <https://github.com/matsuby>
|
||||
// Marko Kaznovac <https://github.com/kaznovac>
|
||||
// Hartley Robertson <https://github.com/hartleyrobertson>
|
||||
// Philipp Katz <https://github.com/qqilihq>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare var Stripe: stripe.StripeStatic;
|
||||
@@ -1024,6 +1025,7 @@ declare namespace stripe {
|
||||
paymentRequest?: paymentRequest.StripePaymentRequest | undefined;
|
||||
supportedCountries?: string[] | undefined;
|
||||
disabled?: boolean | undefined;
|
||||
disableLink?: boolean | undefined;
|
||||
}
|
||||
|
||||
interface Style extends StyleOptions {
|
||||
|
||||
@@ -42,6 +42,7 @@ describe("Stripe elements", () => {
|
||||
value: {
|
||||
postalCode: '94110',
|
||||
},
|
||||
disableLink: true,
|
||||
});
|
||||
card.mount(document.createElement('div'));
|
||||
card.on('ready', () => {
|
||||
|
||||
Reference in New Issue
Block a user