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'm trying to use GeometryUtil.closestlayer in Angular with Leaflet 1.7.1. Whenever I add the GeometryUtil import I get these error among others
Invalid module name in augmentation. Module 'leaflet' resolves to an untyped module at '........[REDACTED]...../node_modules/leaflet/dist/leaflet-src.js', which cannot be augmented.
this is how I do the import
import * as L from 'leaflet';
import GeometryUtil from 'leaflet-geometryutil';
This is regardless of whether I actually use the library in the code
The text was updated successfully, but these errors were encountered:
I'm trying to use GeometryUtil.closestlayer in Angular with Leaflet 1.7.1. Whenever I add the GeometryUtil import I get these error among others
this is how I do the import
This is regardless of whether I actually use the library in the code
The text was updated successfully, but these errors were encountered: