diff --git a/framework/commerce/types.ts b/framework/commerce/types.ts index 86361fd9f..afad18415 100644 --- a/framework/commerce/types.ts +++ b/framework/commerce/types.ts @@ -17,6 +17,7 @@ export type LineItem = { // A human-friendly unique string automatically generated from the product’s name path: string variant: ProductVariant + options?: any[] } export type Measurement = { diff --git a/framework/shopify/types.ts b/framework/shopify/types.ts index e7bcb2476..04c18477d 100644 --- a/framework/shopify/types.ts +++ b/framework/shopify/types.ts @@ -10,9 +10,7 @@ export type ShopifyCheckout = { export type Cart = Core.Cart & { lineItems: LineItem[] } -export interface LineItem extends Core.LineItem { - options?: any[] -} +export type LineItem = Core.LineItem /** * Cart mutations