Skip to content

Commit 2249a1c

Browse files
committed
fix(geoSearch): correct type of MarkerOptions
This isn't really exposed to the user, but I believe this broke when they moved from a namespace to an interface. fixes #6253
1 parent 979540e commit 2249a1c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/instantsearch.js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"dependencies": {
2929
"@algolia/events": "^4.0.1",
3030
"@types/dom-speech-recognition": "^0.0.1",
31-
"@types/google.maps": "^3.45.3",
31+
"@types/google.maps": "^3.55.12",
3232
"@types/hogan.js": "^3.0.0",
3333
"@types/qs": "^6.5.3",
3434
"algoliasearch-helper": "3.22.3",

packages/instantsearch.js/src/widgets/geo-search/GeoSearchRenderer.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type GeoSearchRendererParams = {
2929
cssClasses: ComponentCSSClasses<GeoSearchWidgetParams['cssClasses']>;
3030
createMarker: CreateMarker;
3131
markerOptions: GeoSearchMarker<
32-
typeof google.maps.MarkerOptions | Partial<HTMLMarkerArguments>
32+
google.maps.MarkerOptions | Partial<HTMLMarkerArguments>
3333
>;
3434
enableRefine: GeoSearchWidgetParams['enableRefine'];
3535
enableClearMapRefinement: GeoSearchWidgetParams['enableClearMapRefinement'];

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -6323,10 +6323,10 @@
63236323
"@types/minimatch" "*"
63246324
"@types/node" "*"
63256325

6326-
"@types/google.maps@^3.45.3":
6327-
version "3.45.6"
6328-
resolved "https://registry.yarnpkg.com/@types/google.maps/-/google.maps-3.45.6.tgz#441a7bc76424243b307596fc8d282a435a979ebd"
6329-
integrity sha512-BzGzxs8UXFxeP8uN/0nRgGbsbpYQxSCKsv/7S8OitU7wwhfFcqQSm5aAcL1nbwueMiJ/VVmIZKPq69s0kX5W+Q==
6326+
"@types/google.maps@^3.55.12":
6327+
version "3.55.12"
6328+
resolved "https://registry.yarnpkg.com/@types/google.maps/-/google.maps-3.55.12.tgz#66b50be48533d116dddb3d705d277d06457735b0"
6329+
integrity sha512-Q8MsLE+YYIrE1H8wdN69YHHAF8h7ApvF5MiMXh/zeCpP9Ut745mV9M0F4X4eobZ2WJe9k8tW2ryYjLa87IO2Sg==
63306330

63316331
"@types/googlemaps@^3.30.16":
63326332
version "3.30.16"

0 commit comments

Comments
 (0)