Not able to import Product Recommendations
srijansahaa opened this issue · comments
I am working on an e-commerce application with React JS frontend and Magento as backend, I have installed the Product Recommendations SDK using npm. After I tried to import RecommendationsClient from the package as follows
import RecommendationsClient from "@magento/recommendations-js-sdk";
but I get the following message
Could not find a declaration file for module '@magento/recommendations-js-sdk'. '/repo/node_modules/@magento/recommendations-js-sdk/dist/index.js' implicitly has an 'any' type.
Hi @srijansahaa Thanks for writing. This repo is for documentation issues, rather than product issues. Links to Knowledge Base articles and Support tickets can be found in https://experienceleague.adobe.com/docs/commerce-merchant-services/product-recommendations/guide-overview.html?lang=en#support