diff --git a/types/react-leaflet/index.d.ts b/types/react-leaflet/index.d.ts index fb1cf59d93..55edeec211 100644 --- a/types/react-leaflet/index.d.ts +++ b/types/react-leaflet/index.d.ts @@ -272,10 +272,8 @@ export interface GeoJSONProps extends PathProps, Leaflet.GeoJSONOptions { } export class GeoJSON

extends Path { } -interface AttributionControlProps { - position?: Leaflet.ControlPosition; -} -export const AttributionControl: React.ComponentClass; +export interface AttributionControlProps extends MapControlProps, Leaflet.Control.AttributionOptions { } +export class AttributionControl

extends MapControl { } interface LayersControlProps { position?: Leaflet.ControlPosition;