Skip to content

Commit c2ffdc1

Browse files
committed
fix(google-maps): fix mismatch in clusterer types
Fixes that the clusterer types seem to no longer match with the ones on npm, causing a type error. Fixes #32696.
1 parent f5c5869 commit c2ffdc1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/google-maps/map-marker-clusterer/map-marker-clusterer-types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ export interface ClusterOptions {
2222

2323
export interface Cluster {
2424
marker?: Marker;
25-
readonly markers?: Marker[];
25+
markers?: Marker[];
2626
bounds?: google.maps.LatLngBounds;
2727
position: google.maps.LatLng;
2828
count: number;
2929
push(marker: Marker): void;
3030
delete(): void;
31-
new (options: ClusterOptions): Cluster;
3231
}
3332

3433
export declare class MarkerClusterer extends google.maps.OverlayView {

0 commit comments

Comments
 (0)