There was an error while loading. Please reload this page.
1 parent 30880b4 commit 99cbee4Copy full SHA for 99cbee4
types/index.d.ts
@@ -844,7 +844,8 @@ declare module "jspdf" {
844
ry: number,
845
style?: string | null
846
): jsPDF;
847
- save(filename?: string, options?: { returnPromise?: boolean }): jsPDF;
+ save(filename: string, options: { returnPromise: true }): Promise<void>;
848
+ save(filename?: string): jsPDF;
849
saveGraphicsState(): jsPDF;
850
setCharSpace(charSpace: number): jsPDF;
851
setCreationDate(date?: Date | string): jsPDF;
0 commit comments