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.paymentRequests.getPaymentRequests, 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 PaymentRequest type so that client methods like PaystackClient.paymentRequests.getPaymentRequests may return PaystackResponse<PaymentRequest[]> and PaystackClient.subscriptions.getPaymentRequest may return PaystackResponse<PaymentRequest>.
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.paymentRequests.getPaymentRequests
, 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 aPaymentRequest
type so that client methods likePaystackClient.paymentRequests.getPaymentRequests
may returnPaystackResponse<PaymentRequest[]>
andPaystackClient.subscriptions.getPaymentRequest
may returnPaystackResponse<PaymentRequest>
.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: