mirror of
https://github.com/vercel/commerce.git
synced 2025-06-18 13:11:23 +00:00
OptionSelections type move in array
I guess it's a typo in the code, I had this problem using optionSelections in a add cart on my project.
This commit is contained in:
parent
027c4aca70
commit
d289710723
@ -18,7 +18,7 @@ export type ItemBody = {
|
|||||||
productId: number
|
productId: number
|
||||||
variantId: number
|
variantId: number
|
||||||
quantity?: number
|
quantity?: number
|
||||||
optionSelections?: OptionSelections
|
optionSelections?: Array<OptionSelections>
|
||||||
}
|
}
|
||||||
|
|
||||||
export type AddItemBody = { item: ItemBody }
|
export type AddItemBody = { item: ItemBody }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user