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 have imported Easy-Button for my project. When i want compile my Angular Project I obtain this error:
ERROR in node_modules/leaflet-easybutton/src/easy-button.d.ts(4,16): error TS2665: Invalid module name in augmentation. Module 'leaflet' resolves to an untyped module at 'Path/node_modules/leaflet/dist/leaflet-src.js', which cannot be augmented.
The text was updated successfully, but these errors were encountered:
faienz93
changed the title
ERROR in node_modules/leaflet-easybutton/src/easy-button.d.ts(4,16): error TS2665: Invalid module name in augmentation. Module 'leaflet' resolves to an untyped module at 'PATH/node_modules/leaflet/dist/leaflet-src.js', which cannot be augmented.
ERROR Compile Leaflet.EasyButton in Typescript
Sep 11, 2019
Hi,
i have imported Easy-Button for my project. When i want compile my Angular Project I obtain this error:
ERROR in node_modules/leaflet-easybutton/src/easy-button.d.ts(4,16): error TS2665: Invalid module name in augmentation. Module 'leaflet' resolves to an untyped module at 'Path/node_modules/leaflet/dist/leaflet-src.js', which cannot be augmented.
Leaflet: "^1.5.1",
Leaflet-Easy.Button: "^2.4.0",
Angular CLI: "~7.3.7",
Typescript: "~3.2.2"
Visual Studio Code: 1.38.0
The text was updated successfully, but these errors were encountered: