Files
DefinitelyTyped/types/mapbox-gl-leaflet/index.d.ts
Alexey Gorshkov f0bf0a7cef added typings for mapbox-gl-leaflet (#25120)
* added typings for mapbox-gl-leaflet

* fixed build errors
2018-04-19 11:16:02 -07:00

21 lines
543 B
TypeScript

// Type definitions for mapbox-gl-leaflet 0.0
// Project: https://github.com/brunob/leaflet.fullscreen
// Definitions by: Alexey Gorshkov <https://github.com/agorshkov23>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as L from 'leaflet';
declare module 'leaflet' {
class MapboxGL extends Layer {
constructor(options: MapboxGLOptions);
}
function mapboxGL(options: MapboxGLOptions): MapboxGL;
interface MapboxGLOptions {
accessToken: string;
style: string;
}
}