Skip to content

Commit

Permalink
fix: Patch roughjs type
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Oct 2, 2024
1 parent dfcb4af commit f9818b8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,10 @@
},
"nyc": {
"report-dir": "coverage/cypress"
},
"pnpm": {
"patchedDependencies": {
"roughjs": "patches/roughjs.patch"
}
}
}
10 changes: 10 additions & 0 deletions patches/roughjs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff --git a/bin/rough.d.ts b/bin/rough.d.ts
index 810db1fb34496a5b9f7c0734a7ad8be8605f5534..3624d5b6288a3d2b7d397dfcfffce60558f18cf9 100644
--- a/bin/rough.d.ts
+++ b/bin/rough.d.ts
@@ -8,4 +8,4 @@ declare const _default: {
generator(config?: Config): RoughGenerator;
newSeed(): number;
};
-export default _default;
+export = _default;
9 changes: 7 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f9818b8

Please sign in to comment.