Skip to content

Commit

Permalink
Fix: Update getTextDimensions type def.
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying authored Nov 22, 2024
1 parent f60dcfa commit 30e826a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ declare module "jspdf" {
func: (jsPDFInstance: jsPDF, pages: number) => number[]
): jsPDF;
getTextDimensions(
text: string,
text: string | number | string[],
options?: {
font?: string;
fontSize?: number;
Expand Down

0 comments on commit 30e826a

Please sign in to comment.