mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
Merge pull request #14525 from itroncloudservices/master
Fix leaflet to compile with latest TypeScript v2.1.6.
This commit is contained in:
commit
ea49b04c4f
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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user