ticinum-aerospace / leaflet-wms-header

Custom headers on Leaflet TileLayer WMS
BSD 2-Clause "Simplified" License
27 stars 28 forks source link

Cannot find name 'WMSHeader' #3

Closed albertomusetti closed 4 years ago

albertomusetti commented 5 years ago

Ciao, when I import 'leaflet-wms-header', the IDE show this error:

ERROR in node_modules/leaflet-wms-header/index.d.ts(20,8): error TS2304: Cannot find name 'WMSHeader'.

Dependencies: @angular: 8,2 @leaflet: 1.5

svrijsewijk commented 5 years ago

Same issue https://github.com/ticinum-aerospace/leaflet-wms-header/pull/5

MarsXan commented 4 years ago

Same issue

gdbd commented 4 years ago

@ellvtr @ticinum-aerospace please, publish this update to npm package

ellvtr commented 4 years ago

Strange. Also there is no line 20 in that file, so how could there be an error on line 20, column 8? https://github.com/ticinum-aerospace/leaflet-wms-header/blob/master/index.d.ts Which IDE do you use?

ticinum-aerospace commented 4 years ago

I published last release. Thanks for using our plugin. :D