@types/mapbox__mapbox-gl-geocoder 4.7.2 → 4.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,7 +8,7 @@ This package contains type definitions for @mapbox/mapbox-gl-geocoder (https://g
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__mapbox-gl-geocoder.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 15 Aug 2022 21:02:37 GMT
|
|
12
12
|
* Dependencies: [@types/mapbox-gl](https://npmjs.com/package/@types/mapbox-gl), [@types/geojson](https://npmjs.com/package/@types/geojson)
|
|
13
13
|
* Global values: `MapboxGeocoder`
|
|
14
14
|
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
// Dmytro Gokun <https://github.com/dmytro-gokun>
|
|
5
5
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
6
6
|
|
|
7
|
-
/// <reference types="mapbox-gl" />
|
|
8
7
|
/// <reference types="geojson" />
|
|
8
|
+
|
|
9
|
+
import mapboxgl = require('mapbox-gl');
|
|
10
|
+
|
|
9
11
|
export as namespace MapboxGeocoder;
|
|
10
12
|
export = MapboxGeocoder;
|
|
11
13
|
|
|
@@ -38,7 +40,7 @@ declare namespace MapboxGeocoder {
|
|
|
38
40
|
/**
|
|
39
41
|
* A [mapbox-gl](https://github.com/mapbox/mapbox-gl-js) instance to use when creating [Markers](https://docs.mapbox.com/mapbox-gl-js/api/#marker). Required if `options.marker` is `true`.
|
|
40
42
|
*/
|
|
41
|
-
mapboxgl?: mapboxgl
|
|
43
|
+
mapboxgl?: typeof mapboxgl | undefined;
|
|
42
44
|
/**
|
|
43
45
|
* On geocoded result what zoom level should the map animate to when a bbox isn't found in the response. If a bbox is found the map will fit to the bbox. (optional, default 16)
|
|
44
46
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/mapbox__mapbox-gl-geocoder",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.3",
|
|
4
4
|
"description": "TypeScript definitions for @mapbox/mapbox-gl-geocoder",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__mapbox-gl-geocoder",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
"@types/geojson": "*",
|
|
29
29
|
"@types/mapbox-gl": "*"
|
|
30
30
|
},
|
|
31
|
-
"typesPublisherContentHash": "
|
|
32
|
-
"typeScriptVersion": "
|
|
31
|
+
"typesPublisherContentHash": "ac60019e648e6f3f2857ae2961b129400b9f4775a9bf2a22627453599256c68e",
|
|
32
|
+
"typeScriptVersion": "4.0"
|
|
33
33
|
}
|