-
Notifications
You must be signed in to change notification settings - Fork 39
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
Not able to detect package in my file #13
Comments
Hm. I tried this to test it:
This was successful. Now my
and the project directory contains a So it works for me. Could you compare your project configuration with this simple example, please? Is there any difference to it? Or do you have any further information you can provide that could help to analyze the problem? |
I'm using typescript with SSR, had to do one crazy hack (dynamic import inside useEffect) and then used <AddToHSComponent.default /> to make it run. |
Same here. I'm using Ionic 5 with React.
Any idea? |
Any solution on this ? |
Create a file named |
This works great for me on my reactjs + ts v14.17 project. I renamed to AddToHJomeScreen.d.ts and paste the whole declaration:
|
I have added this package from Yarn as
@ideasio/add-to-homescreen-react
I couldn't recognize this package in my file system
When imported as
import AddToHomeScreen from '@ideasio/add-to-homescreen-react'
It is not getting detected or pointed and is throwing error
The text was updated successfully, but these errors were encountered: