Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
feat: add missing return type for shopper product configure endpoint (#…
Browse files Browse the repository at this point in the history
…810)

Previously was untyped and returning `any`, should be returning `Promise<ShopperCatalogResource<ProductResponse>>`
  • Loading branch information
field123 authored May 30, 2023
1 parent 94ac843 commit 1eb16e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/catalog.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export interface ShopperCatalogProductsEndpoint
[key: string]: number
}
}
})
}): Promise<ShopperCatalogResource<ProductResponse>>

Get(options: {
productId: string
Expand Down

0 comments on commit 1eb16e7

Please sign in to comment.