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
Currently, client methods like PaystackClient.transferRecipients.getTransferRecipients, return a PaystackResponse whose data may be a record or an array of records leaving consumers of this package to have to infer in implement types in their project. implement a TransferRecipient type so that client methods like PaystackClient.transferRecipients.getTransferRecipients may return PaystackResponse<TransferRecipient[]> and PaystackClient.transferRecipients.getTransferRecipient may return PaystackResponse<TransferRecipient>.
Prerequisites
a paystack account (to obtain a secret key)
using the paystack-cli to obtain a dump of transactions to determine fields and their types. See project documentation for more
Currently, client methods like
PaystackClient.transferRecipients.getTransferRecipients
, return aPaystackResponse
whose data may be a record or an array of records leaving consumers of this package to have to infer in implement types in their project. implement aTransferRecipient
type so that client methods likePaystackClient.transferRecipients.getTransferRecipients
may returnPaystackResponse<TransferRecipient[]>
andPaystackClient.transferRecipients.getTransferRecipient
may returnPaystackResponse<TransferRecipient>
.Prerequisites
paystack-cli
to obtain a dump of transactions to determine fields and their types. See project documentation for morePaystackResponse
to a generic type #34The text was updated successfully, but these errors were encountered: