I have integrated jsPDF by adding its jspdf.min.js file to my project.
However, I am facing an issue when trying to use it within a TypeScript class. The error message states that jsPDF is unknown:
btnPrintReportClick() {
var pdf = new jsPDF();
pdf.fromHTML($('.container').html(), 15, 15, { 'width': 170 });
pdf.save('file_name.pdf');
}