Angular 9模块存在jsPDF问题(已安装的类型+软件包本身)ERROR in src/app/xxx/xxxx.componentomponent.tsType 'typeof jsPDF' has no construct signatures.
52 let pdf = new jsPDF('p', 'mm',
我试图以pdf格式打印角材料向导中显示的信息,我尝试使用jspdf,但它不起作用,它给出了以下错误:
const elementToPrint = document.getElementById('completed'); // The html element to become a pdf
const pdf = new jsPDF('p', 'pt'
我想导出一个模板html到pdf,我尝试使用jsPDF库与角,但o得到这个错误,doc.fromHTML不是一个函数。import { Component, ViewChild, ElementRef } from '@angular/core';///app.component.css']export class AppCo