diff --git a/types/index.d.ts b/types/index.d.ts index 8a9553073..68c792fe5 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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;