stripe / stripe-js

Loading wrapper for Stripe.js
https://stripe.com/docs/js
MIT License
633 stars 156 forks source link

Update payment.d.ts #628

Closed Smoggert closed 3 months ago

Smoggert commented 4 months ago

Adds the missing type definitions for defaultValues in case of the PaymentElement

Summary & motivation

Related issue: https://github.com/stripe/stripe-js/issues/627

Testing & documentation

I did not test this. Feel free to do so though.

https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-defaultValues

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.