You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that between v0.23 and v1.0, the src/index.d.ts file was removed. When I import vue-gl in my Vue project, my IDE (VSCode) isn't able to find any types and I end up having to create a custom index.d.ts file with declare module 'vue-gl'; in it. Is this expected or am I doing something wrong when importing vue-gl?
Also bonus question: I see that Vue2.6 is a peer dependency. Does this library work with Vue3?
Thank you!
The text was updated successfully, but these errors were encountered:
Thank you for reporting.
I forgot about type definitions when rewriting scripts (because I'm a not typescript user...).
They should be added in next release.
I noticed that between v0.23 and v1.0, the
src/index.d.ts
file was removed. When I importvue-gl
in my Vue project, my IDE (VSCode) isn't able to find any types and I end up having to create a customindex.d.ts
file withdeclare module 'vue-gl';
in it. Is this expected or am I doing something wrong when importing vue-gl?Also bonus question: I see that Vue2.6 is a peer dependency. Does this library work with Vue3?
Thank you!
The text was updated successfully, but these errors were encountered: