Closed
Description
If I try to use the library in a typescript project I get the following compilation error:
TS7016: Could not find a declaration file for module 'lottie-web-vue'. './node_modules/lottie-web-vue/dist/lottie-web-vue.umd.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/lottie-web-vue` if it exists or add a new declaration (.d.ts) file containing `declare module 'lottie-web-vue';`
My main.ts
(vue 3):
import { createApp } from 'vue'
import LottieAnimation from 'lottie-web-vue'
// ...
createApp(App).use(LottieAnimation);
It would be great, if you could adopt typescript support for the library :)
Metadata
Metadata
Assignees
Labels
No labels