@types/leaflet
Advanced tools
Comparing version 1.0.59 to 1.0.60
@@ -427,7 +427,7 @@ // Type definitions for Leaflet.js 1.0 | ||
// Extension methods | ||
onAdd?: (map: Map) => this; | ||
onRemove?: (map: Map) => this; | ||
getEvents?: () => {[name: string]: (event: Event) => void}; | ||
getAttribution?: () => string | null; | ||
beforeAdd?: (map: Map) => this; | ||
onAdd(map: Map): this; | ||
onRemove(map: Map): this; | ||
getEvents?(): {[name: string]: (event: Event) => void}; | ||
getAttribution?(): string | null; | ||
beforeAdd?(map: Map): this; | ||
} | ||
@@ -996,4 +996,4 @@ | ||
// Extension methods | ||
onAdd?: (map: Map) => HTMLElement; | ||
onRemove?: (map: Map) => void; | ||
onAdd?(map: Map): HTMLElement; | ||
onRemove?(map: Map): void; | ||
@@ -1180,4 +1180,4 @@ options: ControlOptions; | ||
// Extension methods | ||
addHooks?: () => void; | ||
removeHooks?: () => void; | ||
addHooks?(): void; | ||
removeHooks?(): void; | ||
} | ||
@@ -1184,0 +1184,0 @@ |
{ | ||
"name": "@types/leaflet", | ||
"version": "1.0.59", | ||
"version": "1.0.60", | ||
"description": "TypeScript definitions for Leaflet.js", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "1ded9962d5b2e225efb726cc1adf7e80687c102ec3d3e114d2c3e6940f6af732", | ||
"typesPublisherContentHash": "f38899edaebaa1e06e0135067dcee809b697eccfd6949b8c6a2eec2c48899788", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 31 Mar 2017 18:05:13 GMT | ||
* Last updated: Tue, 04 Apr 2017 17:21:52 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
55036