Skip to content

Commit

Permalink
Update src/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Kuba Orlik <[email protected]>
  • Loading branch information
ad-astra-via and kuba-orlik authored Nov 24, 2023
1 parent 67afacf commit 34ffee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export type Product = {
coupon: number | string
}

const mapEcommerceData = (ecommerce: EcommerceType) => {
function mapEcommerceData(ecommerce: EcommerceType): SomeReturnType | null {
const transformedProductData: Record<string, string | number> = {}
if (!ecommerce.products) {
return
Expand Down

0 comments on commit 34ffee4

Please sign in to comment.