TypeScript: getDotLottieInstance should be defined (vue3) #187
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
vue
Overview
The doc for the vue package mentions a getDotLottieInstance function but it is not in the component typing.
getDotLottieInstance is not defined, triggering TS issues and losing type.
I think that we should use
defineExpose
at this lineas explained in the Vue docs here
Consuming repo
dotlottie-vue
Labels
Type: Bug
label to this issue.The text was updated successfully, but these errors were encountered: