diff --git a/types/react-leaflet/index.d.ts b/types/react-leaflet/index.d.ts index 87dc59e909..10d56cfcf3 100644 --- a/types/react-leaflet/index.d.ts +++ b/types/react-leaflet/index.d.ts @@ -255,9 +255,10 @@ export interface RectangleProps extends PathProps { } export class Rectangle
extends Path
{ }
-// tslint:disable-next-line:no-empty-interface
-interface LayerGroupProps extends LayerProps { }
-export const LayerGroup: React.ComponentClass extends MapLayer {
+ getChildContext(): { layerContainer: E };
+}
// tslint:disable-next-line:no-empty-interface
interface FeatureGroupProps extends LayerGroupProps, Leaflet.PathOptions { }