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
@ashrafnazar - thanks for pointing this out.
Unfortunately it has triggered a larger discussion about the onChange callback and the type of data it receives (which varies based on payment method)
For this reason we don't anticipate a fix any time soon. :-(
For the time being can you work around this in your own code to avoid the compilation error?
Describe the bug
A clear and concise description of what the bug is.
Having
state.errors?.encryptedCardNumber?.detectedBrands
will flag a compilation error in the codeTo Reproduce
Steps to reproduce the behavior:
detectedBrands
array in theencryptedCardNumber
error property, but is not present in the typeExpected behavior
The type should include an optional property for
detectedBrands
The text was updated successfully, but these errors were encountered: