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:
Basile Beldame 2021-01-24 01:09:26 +01:00 committed by GitHub
parent 027c4aca70
commit d289710723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ export type ItemBody = {
productId: number
variantId: number
quantity?: number
optionSelections?: OptionSelections
optionSelections?: Array<OptionSelections>
}
export type AddItemBody = { item: ItemBody }