Make submit checkout optional

This commit is contained in:
goncy
2021-09-24 18:42:02 -03:00
parent ed1edfbed4
commit 458a1926f3

View File

@@ -30,7 +30,7 @@ export type GetCheckoutHook<T extends CheckoutTypes = CheckoutTypes> = {
} }
export type CheckoutHooks<T extends CheckoutTypes = CheckoutTypes> = { export type CheckoutHooks<T extends CheckoutTypes = CheckoutTypes> = {
submitCheckout: SubmitCheckoutHook<T> submitCheckout?: SubmitCheckoutHook<T>
getCheckout: GetCheckoutHook<T> getCheckout: GetCheckoutHook<T>
} }