Skip to content

Commit 00f867b

Browse files
authored
Use any[] for untyped array instead of []
Fixes a typescript compiler error: "A tuple type element list cannot be empty"
1 parent a51e8e5 commit 00f867b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ declare module "jspdf" {
13311331
}
13321332

13331333
export interface jsPDFAPI {
1334-
events: [];
1334+
events: any[];
13351335
}
13361336

13371337
export default jsPDF;

0 commit comments

Comments
 (0)