Skip to content

Commit 18305c5

Browse files
committed
chore: Run prettier
1 parent ff135e4 commit 18305c5

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

packages/paystack-inline/types/types.ts

+20-11
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,27 @@ export type PaystackInlineProps = {
5757
*
5858
* @param reference
5959
*/
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
6470
/**
6571
* Will be called before we initialize the transaction, usefull if you need to initialize transaction from server
6672
*/
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
7483
}

0 commit comments

Comments
 (0)