This is an automated email from the ASF dual-hosted git repository. michaelsmolina pushed a commit to branch 4.0 in repository https://gitbox.apache.org/repos/asf/superset.git
commit 8fd47c62c132b016fbbdcf6db656cbaf4958bb45 Author: Jack <[email protected]> AuthorDate: Fri Feb 23 14:05:05 2024 -0600 fix(reports): fixing unit test (#27236) (cherry picked from commit 62783150727d5239eb7588728c941d9df8283120) --- superset-frontend/src/types/dom-to-pdf.d.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/superset-frontend/src/types/dom-to-pdf.d.ts b/superset-frontend/src/types/dom-to-pdf.d.ts index 306d05c162..061e80d96c 100644 --- a/superset-frontend/src/types/dom-to-pdf.d.ts +++ b/superset-frontend/src/types/dom-to-pdf.d.ts @@ -30,9 +30,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; }
