diff --git a/types/react-leaflet/index.d.ts b/types/react-leaflet/index.d.ts index 9c70a79ddf..8af2bbd14b 100644 --- a/types/react-leaflet/index.d.ts +++ b/types/react-leaflet/index.d.ts @@ -224,7 +224,7 @@ export interface MarkerProps extends MarkerEvents, Leaflet.MarkerOptions { children?: Children; position: Leaflet.LatLngExpression; } -export class Marker
extends MapLayer
{ +export class Marker
extends MapLayer
{ getChildContext(): { popupContainer: E }; } @@ -248,12 +248,12 @@ export interface CircleMarkerProps extends PathEvents, Leaflet.CircleMarkerOptio children?: Children; radius: number; } -export class CircleMarker
extends Path
{ } +export class CircleMarker
extends Path
{ } export interface FeatureGroupProps extends FeatureGroupEvents, Leaflet.PathOptions { children?: Children; } -export class FeatureGroup
extends Path
{ +export class FeatureGroup
extends Path
{ getChildContext(): { layerContainer: E, popupContainer: E }; } @@ -268,14 +268,14 @@ export interface PolylineProps extends PathEvents, Leaflet.PolylineOptions { children?: Children; positions: Leaflet.LatLngExpression[] | Leaflet.LatLngExpression[][]; } -export class Polyline
extends Path
{ } +export class Polyline
extends Path
{ } export interface PolygonProps extends PathEvents, Leaflet.PolylineOptions { children?: Children; popupContainer?: Leaflet.FeatureGroup; positions: Leaflet.LatLngExpression[] | Leaflet.LatLngExpression[][] | Leaflet.LatLngExpression[][][]; } -export class Polygon
extends Path
{ } +export class Polygon
extends Path
{ } export interface RectangleProps extends PathEvents, Leaflet.PolylineOptions { children?: Children; @@ -288,7 +288,7 @@ export interface PopupProps extends Leaflet.PopupOptions { children?: Children; position?: Leaflet.LatLngExpression; } -export class Popup
extends MapComponent
{ +export class Popup
extends MapComponent
{ onPopupOpen(arg: { popup: E }): void; onPopupClose(arg: { popup: E }): void; renderPopupContent(): void; @@ -298,7 +298,7 @@ export class Popup
extends MapComponent
export interface TooltipProps extends Leaflet.TooltipOptions { children?: Children; } -export class Tooltip
extends MapComponent
{ +export class Tooltip
extends MapComponent
{ onTooltipOpen(arg: { tooltip: E }): void; onTooltipClose(arg: { tooltip: E }): void; renderTooltipContent(): void;