Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document new options and update method in shipping address element #339

Merged
merged 6 commits into from Jul 30, 2022

Conversation

andywang-stripe
Copy link
Contributor

Summary & motivation

  • Add fields and validation options to StripeShippingAddressElementOptions
  • Add update method to StripeShippingAddressElement
  • Create StripeShippingAddressElementUpdateOptions type

Testing & documentation

Added valid/invalid type tests

types/stripe-js/elements/shipping-address.d.ts Outdated Show resolved Hide resolved
tests/types/src/invalid.ts Outdated Show resolved Hide resolved
tests/types/src/valid.ts Outdated Show resolved Hide resolved
@andywang-stripe andywang-stripe merged commit 0d6ab15 into master Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants