Skip to content

Instantly share code, notes, and snippets.

@use-strict
use-strict / mapbox-gl-geocoder.d.ts
Created July 14, 2017 11:41
TypeScript definitions for mapbox-gl-geocoder plugin
/// <reference types="mapbox-gl" />
/// <reference types="geojson" />
declare namespace __MapboxGeocoder {
interface LngLatLiteral {
lat: number;
lng: number;
}
type Bbox = [number, number, number, number];