@types/leaflet
Advanced tools
Comparing version 1.0.58 to 1.0.59
@@ -52,3 +52,3 @@ // Type definitions for Leaflet.js 1.0 | ||
module DomUtil { | ||
namespace DomUtil { | ||
/** | ||
@@ -800,3 +800,3 @@ * Get Element by its ID or with the given HTML-Element | ||
*/ | ||
pointToLayer?: (geoJsonPoint: GeoJSONFeature<GeoJSONPoint>, latlng: LatLng) => Layer; // should import GeoJSON typings | ||
pointToLayer?(geoJsonPoint: GeoJSONFeature<GeoJSONPoint>, latlng: LatLng): Layer; // should import GeoJSON typings | ||
@@ -827,3 +827,3 @@ /** | ||
*/ | ||
onEachFeature?: (feature: GeoJSONFeature<GeoJSONGeometryObject>, layer: Layer) => void; | ||
onEachFeature?(feature: GeoJSONFeature<GeoJSONGeometryObject>, layer: Layer): void; | ||
@@ -841,3 +841,3 @@ /** | ||
*/ | ||
filter?: (geoJsonFeature: GeoJSONFeature<GeoJSONGeometryObject>) => boolean; | ||
filter?(geoJsonFeature: GeoJSONFeature<GeoJSONGeometryObject>): boolean; | ||
@@ -848,3 +848,3 @@ /** | ||
*/ | ||
coordsToLatLng?: (coords: [number, number] | [number, number, number]) => LatLng; // check if LatLng has an altitude property | ||
coordsToLatLng?(coords: [number, number] | [number, number, number]): LatLng; // check if LatLng has an altitude property | ||
} | ||
@@ -851,0 +851,0 @@ |
{ | ||
"name": "@types/leaflet", | ||
"version": "1.0.58", | ||
"version": "1.0.59", | ||
"description": "TypeScript definitions for Leaflet.js", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "aacfbbc6902968427967ae6696dffb3be66cdfbaf289efabd107c130b50dc1d8", | ||
"typesPublisherContentHash": "1ded9962d5b2e225efb726cc1adf7e80687c102ec3d3e114d2c3e6940f6af732", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/leaflet | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet | ||
Additional Details | ||
* Last updated: Mon, 27 Mar 2017 23:00:21 GMT | ||
* Last updated: Fri, 31 Mar 2017 18:05:13 GMT | ||
* Dependencies: geojson | ||
@@ -14,0 +14,0 @@ * Global values: L |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55074