for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import PromotionCodeApiService from '../service/promotion-code.api.service';
Shopware.Service().register('promotionCodeApiService', () => {
Shopware
/** global: Shopware */
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.
return new PromotionCodeApiService(
Shopware.Application.getContainer('init').httpClient,
Shopware.Service('loginService')
);
});
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.