alex3165 / react-mapbox-gl

A React binding of mapbox-gl-js
http://alex3165.github.io/react-mapbox-gl/
MIT License
1.93k stars 536 forks source link

react-mapbox-gl breaks mapboxgl namespace #631

Open mikew opened 6 years ago

mikew commented 6 years ago

This could be related to TypeScript 3.0, but after upgrading that, mapbox-gl and react-mapbox-gl I'm getting errors when referencing a type in the mapboxgl namespace.

With react-mapbox-gl installed:

screen shot 2018-09-21 at 12 29 02 pm

Without react-mapbox-gl installed:

screen shot 2018-09-21 at 12 30 03 pm
daniel-hauser commented 5 years ago

@mikew, did you have any chance checking if this solves the problem?