Commit 18305c5 1 parent ff135e4 commit 18305c5 Copy full SHA for 18305c5
File tree 1 file changed +20
-11
lines changed
packages/paystack-inline/types
1 file changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -57,18 +57,27 @@ export type PaystackInlineProps = {
57
57
*
58
58
* @param reference
59
59
*/
60
- verifyCallback ?: ( reference : string ) => ( Promise < {
61
- status : boolean ;
62
- message ?: string | undefined
63
- } > | Promise < undefined > | undefined ) | undefined
60
+ verifyCallback ?: ( reference : string ) =>
61
+ | (
62
+ | Promise < {
63
+ status : boolean
64
+ message ?: string | undefined
65
+ } >
66
+ | Promise < undefined >
67
+ | undefined
68
+ )
69
+ | undefined
64
70
/**
65
71
* Will be called before we initialize the transaction, usefull if you need to initialize transaction from server
66
72
*/
67
- initializeCallback ?: ( ( ) =>
68
- Promise < {
69
- message ?: string | undefined
70
- reference : string
71
- authorization_url ?: string | undefined
72
- } > | Promise < undefined > | undefined )
73
- | undefined
73
+ initializeCallback ?:
74
+ | ( ( ) =>
75
+ | Promise < {
76
+ message ?: string | undefined
77
+ reference : string
78
+ authorization_url ?: string | undefined
79
+ } >
80
+ | Promise < undefined >
81
+ | undefined )
82
+ | undefined
74
83
}
You can’t perform that action at this time.
0 commit comments