title: TypeError: this.itemRenderer is undefined Magento 2
body: <p>minicart.js file contains following code,</p>
  
  <pre><code> getItemRenderer: function (productType) {
              return this.itemRenderer[productType] || 'defaultRenderer';
          }
  </code></pre>
  
  <p>but in my console showing following error,</p>
  
  <pre><code>TypeError: this.itemRenderer is undefined Magento 2
  </code></pre>
  
  <p>because of this i think magento mini cart is not working.
  can anyone please tell me solution for this.</p>
  
  <p>Thanks for your answer.</p>