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
ng-particles: Cannot find module 'tsparticles' or its corresponding type declarations. #1683
Comments
Thanks for opening a new issue. The team has been notified and will review it as soon as possible. For urgent issues and priority support, visit https://xscode.com/matteobruni/tsparticles |
Hi @j0nm1, The other issue was fixed, it was an error in the react component type definition. What is your TypeScript version? I had some issues with TypeScript <=4.0 and I’m working on a fix that will be out soon (I don’t know how soon yet) |
Hi, thanks for the quick reply. I'm using |
Ok that’s the issue, there are broken types definitions for TypeScript <4.1, you can try with |
Downgrading to version |
Thank you @j0nm1 for the test, I’ll investigate more about that before releasing an update |
Which version are you using?
Is the latest version affected?
Which library are you using?
tsparticles
)ng-particles
)Describe the bug
The problem exists when compiling an Angular application that uses
ng-particles
andtsparticles
without"skipLibCheck": true
in thetsconfig.json
.The error is:
With
ng-particles: 2.12.2
andtsparticles: 1.27.0
the problem does not exist, but I would like to update my application to the newest version. Furthermore setting"skipLibCheck": true
in thetsconfig.json
does solve it as well (but I don't think this is a good solution). Maybe it's related to #1472?The text was updated successfully, but these errors were encountered: