Open epikoder opened 1 year ago
PaystackConsumer and PaystackContext are using () =>void for onSuccess instead of callback from types
PaystackConsumer
PaystackContext
() =>void
onSuccess
callback
I was even thinking, for better typesafety, The type should be (reference: string) => void. What do you think?
(reference: string) => void
PaystackConsumer
andPaystackContext
are using() =>void
foronSuccess
instead ofcallback
from types