I am trying to use jsPDF and jspdf-autotable in my Angular 5.2.0 project. My package.json is below (related parts):
\"dependencies\": { ... \"jspdf\"
In angular-cli.json
"scripts": [ "../node_modules/jspdf/dist/jspdf.min.js" ],
In your project
import * as jsPdf from 'jspdf'; import 'jspdf-autotable';
This work for me