Merge pull request #14525 from itroncloudservices/master

Fix leaflet to compile with latest TypeScript v2.1.6.
This commit is contained in:
Arthur Ozga 2017-02-10 13:44:23 -08:00 committed by GitHub
commit ea49b04c4f

4
leaflet/index.d.ts vendored
View File

@ -689,7 +689,7 @@ declare namespace L {
/**
* Returns a GeoJSON representation of the layer group (as a GeoJSON GeometryCollection, GeoJSONFeatureCollection or Multipoint).
*/
toGeoJSON(): GeoJSONFeatureCollection<GeoJSONGeometryObject> | GeoJSONFeature<GeoJSONGeometryCollection | GeoJSONMultiPoint>;
toGeoJSON(): GeoJSONFeatureCollection<GeoJSONGeometryObject> | GeoJSONFeature<GeoJSONMultiPoint> | GeoJSONGeometryCollection;
/**
* Adds the given layer to the group.
@ -743,7 +743,7 @@ declare namespace L {
*/
getLayerId(layer: Layer): number;
feature: GeoJSONFeatureCollection<GeoJSONGeometryObject> | GeoJSONFeature<GeoJSONGeometryCollection | GeoJSONMultiPoint>;
feature: GeoJSONFeatureCollection<GeoJSONGeometryObject> | GeoJSONFeature<GeoJSONMultiPoint> | GeoJSONGeometryCollection;
}
/**