Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch to declare module 'react-images-viewer'; #62

Open
paraslamsong opened this issue Nov 27, 2023 · 1 comment
Open

Patch to declare module 'react-images-viewer'; #62

paraslamsong opened this issue Nov 27, 2023 · 1 comment

Comments

@paraslamsong
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-images-viewer@1.7.1 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-images-viewer/.DS_Store b/node_modules/react-images-viewer/.DS_Store
new file mode 100644
index 0000000..a307fbe
Binary files /dev/null and b/node_modules/react-images-viewer/.DS_Store differ
diff --git a/node_modules/react-images-viewer/lib/.DS_Store b/node_modules/react-images-viewer/lib/.DS_Store
new file mode 100644
index 0000000..dd3de23
Binary files /dev/null and b/node_modules/react-images-viewer/lib/.DS_Store differ
diff --git a/node_modules/react-images-viewer/lib/ImgsViewer.d.ts b/node_modules/react-images-viewer/lib/ImgsViewer.d.ts
new file mode 100644
index 0000000..baa82e4
--- /dev/null
+++ b/node_modules/react-images-viewer/lib/ImgsViewer.d.ts
@@ -0,0 +1 @@
+declare module 'react-images-viewer'
\ No newline at end of file
diff --git a/node_modules/react-images-viewer/src/.DS_Store b/node_modules/react-images-viewer/src/.DS_Store
new file mode 100644
index 0000000..f3b3f43
Binary files /dev/null and b/node_modules/react-images-viewer/src/.DS_Store differ
diff --git a/node_modules/react-images-viewer/src/ImgsViewer.d.ts b/node_modules/react-images-viewer/src/ImgsViewer.d.ts
new file mode 100644
index 0000000..baa82e4
--- /dev/null
+++ b/node_modules/react-images-viewer/src/ImgsViewer.d.ts
@@ -0,0 +1 @@
+declare module 'react-images-viewer'
\ No newline at end of file

This issue body was partially generated by patch-package.

@tkhall03
Copy link

Hello, would it be possible for you to share the patch you made with me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants