-
Notifications
You must be signed in to change notification settings - Fork 25
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
warning import #31
Comments
Same issue here |
I have the same issue, is this not being addressed? |
I fixed this issue by creating a "index.d.ts." file inside the "accordion-collapse-react-native" folder in the project's 'node_module" folder. The file should have the following line in it: declare module 'accordion-collapse-react-native'; |
Just created a pull request that generates the index.d.ts file to fix that issues. |
this issue still exists. What a shame, I liked this package but I can't use it since the project I'm working on is TypeScript, and this small issue would fail the lint pipeline. |
@oreyes1991 Just add this |
@marouanekadiri Creating the .d.ts in the root still presents and issue and causes the build pipe line to break. Would declaring the components in the package be something in the works? Thank you |
Could not find a declaration file for module 'accordion-collapse-react-native'. '/home/rodrigo/neofontes/mobile/trunk/neocorp/node_modules/accordion-collapse-react-native/build/index.js' implicitly has an 'any' type.
Try
npm install @types/accordion-collapse-react-native
if it exists or add a new declaration (.d.ts) file containingdeclare module 'accordion-collapse-react-native';
ts(7016)The text was updated successfully, but these errors were encountered: