The package doesn't include any types. (notice the missing TS icon on npm)
I'm getting this error.
Import declaration conflicts with local declaration of 'Particles'.ts(2440)
And the "How to use" example code throws many TypeScript errors.
Import declaration conflicts with local declaration of 'Particles'.ts(2440)
'tsParticles' is declared but its value is never read.ts(6133)
Cannot find module 'tsparticles' or its corresponding type declarations.ts(2307)
Property 'particlesInit' does not exist on type 'Window & typeof globalThis'.ts(2339)
Property 'particlesLoaded' does not exist on type 'Window & typeof globalThis'.ts(2339)
'container' is declared but its value is never read.ts(6133)
And when the code runs, It throws an error and doesn't load the particles.
tsParticles - Error in animation loop TypeError: Cannot read properties of undefined (reading 'circleRange')
The package doesn't include any types. (notice the missing TS icon on npm)
I'm getting this error.
And the "How to use" example code throws many TypeScript errors.
And when the code runs, It throws an error and doesn't load the particles.