I'm using jsPDF and I've added its jspdf.min.js file on the page.
How can I use it from within a typescript class? jsPDF is unknown it complains:
btnPrintReportClick() {
var pdf = new jsPDF();
pdf.fromHTML($('.container').html(), 15, 15, { 'width': 170 });
pdf.save('file_name.pdf');
}