mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 21:12:38 +08:00
Merge pull request #14525 from itroncloudservices/master
Fix leaflet to compile with latest TypeScript v2.1.6.
This commit is contained in:
4
leaflet/index.d.ts
vendored
4
leaflet/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user