Skip to content

Commit

Permalink
fix(reports): fixing unit test (#27236)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6278315)
  • Loading branch information
fisjac authored and michael-s-molina committed Feb 27, 2024
1 parent e687525 commit a1ebdd7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions superset-frontend/src/types/dom-to-pdf.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ declare module 'dom-to-pdf' {
excludeClassNames?: string[];
}

const domToPdf = (
elementToPrint: Element,
options?: Options,
): Promise<any> => {};
function domToPdf(elementToPrint: Element, options?: Options): Promise<any>;

export default domToPdf;
}

0 comments on commit a1ebdd7

Please sign in to comment.