import type { Product , Sku } from '../clients/search/types/ProductSearchResult' ; export type EnhancedSku = Sku & { isVariantOf : Product ; } ; export const enhanceSku = ( sku , product ) : EnhancedSku => ( { ... sku , isVariantOf : product } ) ;