diff --git a/types/leaflet/index.d.ts b/types/leaflet/index.d.ts index 8402d8bc9b..c6b97e3b28 100644 --- a/types/leaflet/index.d.ts +++ b/types/leaflet/index.d.ts @@ -817,7 +817,7 @@ export interface GeoJSONOptions
extends LayerOptions {
pointToLayer?(geoJsonPoint: geojson.Feature extends LayerOptions {
* }
* ```
*/
- style?: StyleFunction ;
+ style?: PathOptions | StyleFunction ;
/**
* A Function that will be called once for each created Feature, after it