From bc751ce74e2270bf5777b435589f82e071b51f04 Mon Sep 17 00:00:00 2001 From: Christopher Currens Date: Mon, 20 Feb 2017 17:02:29 -0800 Subject: [PATCH] Use type union instead of BaseIcon class --- leaflet-markercluster/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaflet-markercluster/index.d.ts b/leaflet-markercluster/index.d.ts index b1d4649b33..88fe0edd72 100644 --- a/leaflet-markercluster/index.d.ts +++ b/leaflet-markercluster/index.d.ts @@ -105,7 +105,7 @@ declare namespace L { /* * Function used to create the cluster icon */ - iconCreateFunction?: ((cluster: L.MarkerCluster) => L.BaseIcon); + iconCreateFunction?: ((cluster: L.MarkerCluster) => L.Icon | L.DivIcon); /* * Boolean to split the addLayers processing in to small intervals so that the page does not freeze.