https://i.sstatic.net/go6pV.png
I've successfully integrated the module with no "can't find module" errors, and my code is functioning correctly.
However, the main problem lies in the type declarations error, which prevents my code from recognizing the .lottie file. I've utilized the dotLottie player to play the lottie files.
I'm seeking assistance on how to properly declare a new type in Next.js. Can anyone provide guidance on this matter?