From 42f58c8d912fdf2593ac7074f5b060cba18bbb45 Mon Sep 17 00:00:00 2001 From: David Schneider Date: Thu, 13 Apr 2017 16:13:15 -0700 Subject: [PATCH] Update LayerGroup, LayerGroupProps. --- types/react-leaflet/index.d.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; +export interface LayerGroupProps extends MapLayerProps { } +export class LayerGroup

extends MapLayer { + getChildContext(): { layerContainer: E }; +} // tslint:disable-next-line:no-empty-interface interface FeatureGroupProps extends LayerGroupProps, Leaflet.PathOptions { }