maplibre / maplibre-gl-leaflet

This is a binding from MapLibre GL JS to the familiar Leaflet API.
ISC License
135 stars 36 forks source link

Add types definition #14

Closed webberig closed 3 years ago

webberig commented 3 years ago

Added types definitions file which will improve developer experience when importing/using this package in a Typescript environment.

The typings for mapbox-gl-leaflet was provided as a separate @types/mapbox-gl-leaflet package... (https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/mapbox-gl-leaflet/index.d.ts)

lseelenbinder commented 3 years ago

Thanks @webberig ! Looks good to me.