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

Type declarations.ts #14

Closed
vietnt-uet opened this issue Aug 20, 2022 · 2 comments
Closed

Type declarations.ts #14

vietnt-uet opened this issue Aug 20, 2022 · 2 comments

Comments

@vietnt-uet
Copy link

I'm using Typescript for my React Native project and after isntall the package I got this warning:

Cannot find module '@likashefqet/react-native-image-zoom' or its corresponding type declarations.ts
@SaraChicaD
Copy link

Have the same problem, so strange.

@demedos
Copy link
Contributor

demedos commented Sep 14, 2022

Seems like the index has been placed in the src folder rather than in the root. I'll open a PR if I have time, meanwhile you can just

import { ImageZoom } from '@likashefqet/react-native-image-zoom/src';

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

3 participants