title: Property 'autoTable' does not exist on type jsPDF
body: <p>I am using <code>angular2</code> and <code>Node JS</code>. I have installed <a href="https://www.npmjs.com/package/jspdf" rel="nofollow noreferrer">jspdf</a> and <a href="https://www.npmjs.com/package/jspdf-autotable" rel="nofollow noreferrer">jspdf-autotable</a> both modules using <code>npm</code>.
  In angular-cli.json file, I have embedded the scripts:</p>
  
  <pre><code>"scripts": [ 
          "../node_modules/jspdf/dist/jspdf.min.js",
          "../node_modules/jspdf-autotable/dist/jspdf.plugin.autotable.js"
        ],
  </code></pre>
  
  <p>In my <code>component.ts</code> file , I have imported these files as follows:</p>
  
  <pre><code> import * as jsPDF from 'jspdf'; 
   import * as autoTable from 'jspdf-autotable';
  </code></pre>
  
  <p>I have also tried these lines to import <code>jspdf-autotable</code> </p>
  
  <pre><code>import { autoTable } from 'jspdf-autotable'; 
  import 'jspdf-autotable';
  </code></pre>
  
  <p>But nothing is working.</p>
  
  <p>In function of <code>component.ts</code> file I am using sample code as follows:</p>
  
  <pre><code>var columns = ["ID", "Country", "Rank", "Capital"];
          var data = [
              [1, "Denmark", 7.526, "Copenhagen"],
              [2, "Switzerland",  7.509, "Bern"],
              [3, "Iceland", 7.501, "Reykjavík"],
              [4, "Norway", 7.498, "Oslo"],
              [5, "Finland", 7.413, "Helsinki"]
          ];
          var doc = new jsPDF();
          doc.autoTable(columns, data);
          doc.output("dataurlnewwindow");
  </code></pre>
  
  <p>But now when I run the node command to start app then during compilation I am getting error as:</p>
  
  <blockquote>
    <p>Property 'autoTable' does not exist on type 'jsPDF'.</p>
  </blockquote>
  
  <p>Can any one please suggest?</p>