title: jsPDF AutoTable - autoTable is not a function
body: <p>I'm using JSPdf on an Angular app, and I'm attempting to use the JS autotable plugin but I'm running into the JS error</p>
  <blockquote>
  <p>EXCEPTION: Uncaught (in promise): TypeError: doc.autoTable is not a function</p>
  <p>TypeError: doc.autoTable is not a function</p>
  </blockquote>
  <p>I have jspdf and jspdf-autotable installed via npm, I confirmed they are in the node modules.</p>
  <p>I've imported both plugins this way:</p>
  <pre><code>import * as jsPDF from 'jspdf' 
  import * as autoTable from 'jspdf-autotable'
  </code></pre>
  <p>and here is my code:</p>
  <pre><code>private renderPdf():void{
      let testcolumns = [&quot;TestCol1&quot;, &quot;TestCol2&quot;];
      let testrows = [[&quot;test item 1&quot;, &quot;test item 2&quot;]];
      let doc = new jsPDF();
      doc.autoTable(testcolumns, testrows);
      doc.save('sample.pdf');
  }
  </code></pre>
  <p>Is there anything I could be missing here or more code I could provide to help determine the issue?</p>
  <p>Thanks!</p>