From bdbf9eca884794645bcd129dc5a0f2c5b9544727 Mon Sep 17 00:00:00 2001 From: tedraykov Date: Thu, 20 Jun 2024 15:18:59 +0300 Subject: [PATCH] revert shopify metaobject type issue --- lib/shopify/index.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/shopify/index.ts b/lib/shopify/index.ts index 3190575f1..95288ab4d 100644 --- a/lib/shopify/index.ts +++ b/lib/shopify/index.ts @@ -351,11 +351,12 @@ const reshapeMetaobjects = (metaobjects: ShopifyMetaobject[]): Metaobject[] => { }; }, {} as { - [key: string]: { - value: string; - referenceId: string; - }; - string; + [key: string]: + | { + value: string; + referenceId: string; + } + | string; } );