Open SossenSystems opened 1 year ago
Hi @SossenSystems have you tried adding
declare module '@lottiefiles/vue-lottie-player';
in a types.d.ts file ?
I'm having the same issue on 1.1.0.
Currently running on Nuxt 2.15.8.
Tried declaring the types module but couldn't find one in the vue-lottie-player directory. But I did find some TS files in the @lottiefiles/lottie-player
directory, but no joy.
TS7016: Could not find a declaration file for module '@lottiefiles/vue-lottie-player'. '/Users/myuser/project/node_modules/@lottiefiles/vue-lottie-player/dist/vue-lottie-player.common.js' implicitly has an 'any' type. Try
npm i --save-dev @types/lottiefiles__vue-lottie-player
if it exists or add a new declaration (.d.ts) file containingdeclare module '@lottiefiles/vue-lottie-player';
Originally posted by @SossenSystems in https://github.com/LottieFiles/lottie-vue/issues/23#issuecomment-1489024322