mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
Update LayerGroup, LayerGroupProps.
This commit is contained in:
Vendored
+4
-3
@@ -255,9 +255,10 @@ export interface RectangleProps extends PathProps {
|
||||
}
|
||||
export class Rectangle<P extends RectangleProps, E extends Leaflet.Rectangle> extends Path<P, E> { }
|
||||
|
||||
// tslint:disable-next-line:no-empty-interface
|
||||
interface LayerGroupProps extends LayerProps { }
|
||||
export const LayerGroup: React.ComponentClass<LayerGroupProps>;
|
||||
export interface LayerGroupProps extends MapLayerProps { }
|
||||
export class LayerGroup<P extends LayerGroupProps, E extends Leaflet.LayerGroup> extends MapLayer<P, E> {
|
||||
getChildContext(): { layerContainer: E };
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-empty-interface
|
||||
interface FeatureGroupProps extends LayerGroupProps, Leaflet.PathOptions { }
|
||||
|
||||
Reference in New Issue
Block a user