Type definitions for Mapbox GL JS
npm install mapbox-gl --save
typings install dt~geojson --global --save
typings install github:dobrud/typed-mapbox-gl --global --save
Usage in code:
import * as mapboxgl from 'mapbox-gl';
If you need only a single class:
import {LngLat} from 'mapbox-gl';
typings install
tsc mapbox-gl-tests.ts