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
I was talking with a developer in the Build on Circle community, and we found a bug in the API type definitions.
GetPaymentResponseData is defined as never because of conflicting type attributes in a type intersection. Since these types are autogenerated by OpenAPI, it looks like it's probably an error in definitions.
I was talking with a developer in the Build on Circle community, and we found a bug in the API type definitions.
GetPaymentResponseData is defined as never because of conflicting type attributes in a type intersection. Since these types are autogenerated by OpenAPI, it looks like it's probably an error in definitions.
I was talking with a developer in the Build on Circle community, and we found a bug in the API type definitions.
GetPaymentResponseData
is defined asnever
because of conflictingtype
attributes in a type intersection. Since these types are autogenerated by OpenAPI, it looks like it's probably an error in definitions.CryptoPayment
is defined as:And
GetPaymentReponseData
is defined as an intersection with a specifictype
that conflicts with that union:This resolves to
never
because"Crypto Payment" & ("payment" | "refund")
cannot be reconciled, which (downstream) results inGetPaymentResponse
resolving to{ data: undefined }
in all cases.The text was updated successfully, but these errors were encountered: