mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
Use type union instead of BaseIcon class
This commit is contained in:
Vendored
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user