mariusandra / pigeon-maps

ReactJS Maps without external dependencies
https://pigeon-maps.js.org/
MIT License
3.44k stars 142 forks source link

Module has no exported member 'Marker' #121

Closed johannesaxner-valtech closed 3 years ago

johannesaxner-valtech commented 3 years ago

I just added pigeon-maps 0.17 to my typescript react project and I can't build due to the package not exporting Marker or Overlay components. I get errors like this:

Module '"../../../node_modules/pigeon-maps/lib"' has no exported member 'Marker'.

Module '"../../../node_modules/pigeon-maps/lib"' has no exported member 'Overlay'.

Is this a faulty type definition or something wrong in my end?

GeorgiHalembakovv commented 3 years ago

I have the same issue with Marker and Map.

mariusandra commented 3 years ago

Hey! Indeed while the JS code itself was there, the TS types were generated into a different folder.

Please let me know if 0.17.1 works.