Skip to content

Commit

Permalink
Use any[] for untyped array instead of []
Browse files Browse the repository at this point in the history
Fixes a typescript compiler error: "A tuple type element list cannot be empty"
  • Loading branch information
Xenoage committed Aug 28, 2020
1 parent a51e8e5 commit 00f867b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Expand Up @@ -1331,7 +1331,7 @@ declare module "jspdf" {
}

export interface jsPDFAPI {
events: [];
events: any[];
}

export default jsPDF;
Expand Down

0 comments on commit 00f867b

Please sign in to comment.