Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed imports to acommodate to new ngx-leaflet organization #97

Merged
merged 1 commit into from Apr 28, 2023

Conversation

rtrevinnoc
Copy link
Contributor

Whenever you try to import the module into an Angular project using Leaflet through the ngx-leaflet package you get the following warning

Error: node_modules/leaflet-geometryutil/src/leaflet.geometryutil.d.ts:1:8 - error TS1192: Module '"/home/god/Drongo/Drongo/WebApp_2.0/node_modules/@types/leaflet/index"' has no default export.

1 import L, { LatLngLiteral, Layer } from "leaflet";

The modification of the lines performed in this commit makes the error disappear.
Thank you, beforehand

@bastyen bastyen merged commit fd24ac5 into makinacorpus:master Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants