Skip to content

Commit

Permalink
Patch lighthouse package
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Dec 7, 2024
1 parent 7de85b5 commit 0e9bf77
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/lighthouse+12.2.2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/node_modules/lighthouse/core/index.d.cts b/node_modules/lighthouse/core/index.d.cts
index a3645a1..b105ca3 100644
--- a/node_modules/lighthouse/core/index.d.cts
+++ b/node_modules/lighthouse/core/index.d.cts
@@ -7,5 +7,7 @@ export = lighthouse;
* @property {import('./index.js')['snapshot']} snapshot
*/
/** @type {import('./index.js')['default'] & ExportType} */
+// Otherwise TS is confused when using ES types in CJS.
+// @ts-ignore
declare const lighthouse: typeof import("./index.js")["default"] & ExportType;
//# sourceMappingURL=index.d.cts.map

0 comments on commit 0e9bf77

Please sign in to comment.