diff --git a/types/leaflet/index.d.ts b/types/leaflet/index.d.ts index dc11895dc5..a5a0cf112c 100644 --- a/types/leaflet/index.d.ts +++ b/types/leaflet/index.d.ts @@ -761,7 +761,7 @@ declare namespace L { /** * Sets the given path options to each layer of the group that has a setStyle method. */ - setStyle(style: PathOptions): this; + setStyle(style: StyleFunction): this; /** * Brings the layer group to the top of all other layers