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
How to add types or declaration of this module when project is created in Vue TS?
Map is getting created but getting following error in terminal: Try npm install @types/vue2-leaflet-markerclusterif it exists or add a new declaration (.d.ts) file containingdeclare module 'vue2-leaflet-markercluster';``
The text was updated successfully, but these errors were encountered:
I created a file named 'vue2-leaflet-markercluster.d.ts' at the level of tsconfig.js and added line declare module 'vue2-leaflet-markercluster'; to it. Error got resolved. Is there any better or more proper way to do this for this package?
How to add types or declaration of this module when project is created in Vue TS?
Map is getting created but getting following error in terminal:
Try
npm install @types/vue2-leaflet-markerclusterif it exists or add a new declaration (.d.ts) file containing
declare module 'vue2-leaflet-markercluster';``The text was updated successfully, but these errors were encountered: