smithmicro / mapbox-gl-circle

A *google.maps.Circle* replacement for Mapbox GL JS
https://smithmicro.github.io/mapbox-gl-circle/
ISC License
55 stars 26 forks source link

Can we please add Typescript support for the library? #103

Open mblomdahl opened 5 months ago

mblomdahl commented 5 months ago

⚠️ Is your feature request related to a problem? Please describe

When including it in my Angular 14 (Typescript) project per the README instruction, I get an error about missing type declarations:

image

💡 Describe the solution you'd like

I would like Joao Silva (@jlls) to add Typescript typing, so I can run npm i --save-dev @types/mapbox-gl-circle and use it as intended, with all interfaces typed & documented. This resolves the issue addressed by #86 in a backwards compatible manner.

🤚 Do you want to develop this feature yourself?