mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 12:24:18 +00:00
Make submit checkout optional
This commit is contained in:
parent
458a1926f3
commit
223eaf475c
@ -46,7 +46,7 @@ export type SubmitCheckoutHandler<T extends CheckoutTypes = CheckoutTypes> =
|
||||
|
||||
export type CheckoutHandlers<T extends CheckoutTypes = CheckoutTypes> = {
|
||||
getCheckout: GetCheckoutHandler<T>
|
||||
submitCheckout: SubmitCheckoutHandler<T>
|
||||
submitCheckout?: SubmitCheckoutHandler<T>
|
||||
}
|
||||
|
||||
export type CheckoutSchema<T extends CheckoutTypes = CheckoutTypes> = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user