You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2024/02/27 20:44:21 UTC

(superset) 04/08: fix(reports): fixing unit test (#27236)

This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/superset.git

commit a1ebdd70b1dd573941f045509f96419804621529
Author: Jack <41...@users.noreply.github.com>
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 bc884fd43a..0d45ac5afd 100644
--- a/superset-frontend/src/types/dom-to-pdf.d.ts
+++ b/superset-frontend/src/types/dom-to-pdf.d.ts
@@ -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;
 }