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.paymentPages.getPages, 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 PaymentPage type so that client methods like PaystackClient.paymentPages.getPages may return PaystackResponse<PaymentPage[]> and PaystackClient.paymentPages.getPage may return PaystackResponse<PaymentPage>.
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.paymentPages.getPages
, 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 aPaymentPage
type so that client methods likePaystackClient.paymentPages.getPages
may returnPaystackResponse<PaymentPage[]>
andPaystackClient.paymentPages.getPage
may returnPaystackResponse<PaymentPage>
.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: