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

Commit 1eb16e7

Browse files
authored
feat: add missing return type for shopper product configure endpoint (#810)
Previously was untyped and returning `any`, should be returning `Promise<ShopperCatalogResource<ProductResponse>>`
1 parent 94ac843 commit 1eb16e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/catalog.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export interface ShopperCatalogProductsEndpoint
126126
[key: string]: number
127127
}
128128
}
129-
})
129+
}): Promise<ShopperCatalogResource<ProductResponse>>
130130

131131
Get(options: {
132132
productId: string

0 commit comments

Comments
 (0)