Target Use Case
react-map-gl is currently not compatible with the upcoming TypeScript 6.0 release.
In Q4 2025, TypeScript 6.0 plans to drop support for module-keyword namespaces.
TypeScript ecosystem testing identified that react-map-gl is not compatible with this change due to a transitive dependency on gl-matrix <3.4.4 that uses legacy namespaces. The dependencies have now all been fixed. So the only remaining work is to bump the versions of those dependencies.
Proposal
react-map-gl has three transitive routes to depend on the problematic gl-matrix:
The following package versions have already been made compatible with TS 6.0:
gl-matrix@3.4.4
mapbox-gl@3.15.0
maplibre-gl@5.7.0
Please bump the existing dependencies to use these minimum versions.
Target Use Case
react-map-glis currently not compatible with the upcoming TypeScript 6.0 release.In Q4 2025, TypeScript 6.0 plans to drop support for
module-keyword namespaces.TypeScript ecosystem testing identified that
react-map-glis not compatible with this change due to a transitive dependency ongl-matrix <3.4.4that uses legacy namespaces. The dependencies have now all been fixed. So the only remaining work is to bump the versions of those dependencies.Proposal
react-map-glhas three transitive routes to depend on the problematicgl-matrix:mapbox-gl@3.9.0modules/react-mapboxviamapbox-gl: ^3.9.0modules/react-maplibreviamaplibre-gl: ^5.0.0The following package versions have already been made compatible with TS 6.0:
gl-matrix@3.4.4mapbox-gl@3.15.0maplibre-gl@5.7.0Please bump the existing dependencies to use these minimum versions.