visgl / react-map-gl

React friendly API wrapper around MapboxGL JS
http://visgl.github.io/react-map-gl/
Other
7.88k stars 1.36k forks source link

fix(meta): Put 'types' first in package.json#exports #2369

Closed donmccurdy closed 4 months ago

donmccurdy commented 7 months ago

I'm not aware that anything is broken without this, but the TS documentation mentions that the 'types' entrypoint should be first in package.json#exports, and this matches deckgl and lumagl's configuration.

https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/