You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a real nitpick but I still wanted to check: Is there a specific reason the properties on AccountAddressParam and Address are typed differently?
If you take line2 as an example it's typed as line2?: stringone time and as line2: string | nullanother time. This means that we need to recast the address object we received from Stripe when we send it back to Stripe unchanged in order to make it type safe.
Not a big deal, as I said but I was still curious. Thank you!
Environment
No response
Reproduction
No response
The text was updated successfully, but these errors were encountered:
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.
What happened?
This is a real nitpick but I still wanted to check: Is there a specific reason the properties on
AccountAddressParam
andAddress
are typed differently?If you take
line2
as an example it's typed asline2?: string
one time and asline2: string | null
another time. This means that we need to recast the address object we received from Stripe when we send it back to Stripe unchanged in order to make it type safe.Not a big deal, as I said but I was still curious. Thank you!
Environment
No response
Reproduction
No response
The text was updated successfully, but these errors were encountered: