Merge pull request #27978 from ekulabuhov/patch-1

mapbox-gl: Changed to UMD module
This commit is contained in:
Benjamin Lichtman
2018-08-17 10:55:37 -07:00
committed by GitHub
+3 -8
View File
@@ -6,6 +6,9 @@
/// <reference types="geojson" />
export = mapboxgl;
export as namespace mapboxgl;
declare namespace mapboxgl {
let accessToken: string;
let version: string;
@@ -1286,11 +1289,3 @@ declare namespace mapboxgl {
'hillshade-accent-color-transition'?: Transition;
}
}
declare module 'mapbox-gl' {
export = mapboxgl;
}
declare module 'mapbox-gl/dist/mapbox-gl' {
export = mapboxgl;
}