title: Angular 8, using jspdf and autotable-jspdf import/usage issues
body: <p><strong>Angular 8 - JSPDF &amp; JSPDF-AutoTable</strong></p>
  
  <p>I need to export/generate one pdf base one grid in html, but is necessary some DOM changes with css, remove some toggle button and change header etc, and all solutions I found has some flicks in print like the simple window.print(). I tried also pdfmake-wrapper and ngx-export-as, but they don't have the autoTable magic...and the last one the dom changes are ignored, except if I use the Renderer2 DOM manipulation...<strong>but I need a solution with css class changes inject and no flick, so I get back the JSPDF.</strong></p>
  
  <p>I installed jspdf and jspdf-autotable packages with npm. </p>
  
  <pre><code>"dependencies": {
      ...
      "jspdf": "^1.5.3",
      "jspdf-autotable": "^3.2.4",
      ...
  }
  </code></pre>
  
  <p>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 component.ts 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 jspdf-autotable</p>
  
  <pre><code>import * as jsPDF from 'jspdf'; 
  import 'jspdf-autotable';
  </code></pre>
  
  <p>I have also tried another combination.</p>
  
  <pre><code>import jsPDF = require('jspdf');
  import { autoTable as AutoTable } from 'jspdf-autotable';
  </code></pre>
  
  <p><strong>But nothing is working.</strong></p>
  
  <p>// In My component.ts file I'm using sample code as follows:</p>
  
  <pre><code>let columns = ["ID", "Name", "Age", "City"];
  var data = [
      [1, "Jonatan", 25, "Gothenburg"],
      [2, "Simon", 23, "Gothenburg"],
      [3, "Hanna", 21, "Stockholm"]
  ];
  const doc = new jsPDF(); // or let doc = new jsPDF.default();
  doc.autoTable(columns, data);
  doc.save("filename");
  </code></pre>
  
  <p>But now when I run the node command to start app then during debug, I'm getting errors as:</p>
  
  <p>a - Property 'autoTable' does not exist on type 'jsPDF'.</p>
  
  <p>b - Error TS2339: Property 'default' does not exist on type 'typeof jsPDF'.</p>
  
  <p>Any idea?</p>