Closed
Description
- Installed jspdf in package.json, "jspdf": "^2.1.0"
- When compiling my project with typescript, I get the following error:
[app-scripts] typescript: .../App/node_modules/jspdf/types/index.d.ts, line: 1334
[app-scripts] A tuple type element list cannot be empty.
- Can be fixed by adding "any" before the "[]" type at this position
export interface jsPDFAPI {
events: any[]; // any[] instead of just []
}
Metadata
Metadata
Assignees
Labels
No labels