LottieFiles / lottie-vue

Lottie player wrapper for Vue.js
https://github.com/lottiefiles/lottie-vue
112 stars 16 forks source link

Same issue with 1.1.0 #35

Open SossenSystems opened 1 year ago

SossenSystems commented 1 year ago
          Same issue with 1.1.0

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 containing declare module '@lottiefiles/vue-lottie-player';

Originally posted by @SossenSystems in https://github.com/LottieFiles/lottie-vue/issues/23#issuecomment-1489024322

samuelOsborne commented 1 year ago

Hi @SossenSystems have you tried adding

declare module '@lottiefiles/vue-lottie-player';

in a types.d.ts file ?

kcharlesbusiness commented 1 year ago

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.