@types/react-leaflet
Advanced tools
Comparing version 2.4.0 to 2.5.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for react-leaflet 2.4 | ||
// Type definitions for react-leaflet 2.5 | ||
// Project: https://github.com/PaulLeCam/react-leaflet | ||
@@ -7,2 +7,3 @@ // Definitions by: Dave Leaver <https://github.com/danzel> | ||
// Jeroen Claassens <https://github.com/favna> | ||
// Tom Fenech <https://github.com/fenech> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -287,2 +288,10 @@ // TypeScript Version: 2.8 | ||
export interface SVGOverlayProps extends Leaflet.ImageOverlayOptions, MapComponentProps { | ||
children?: Children; | ||
} | ||
export class SVGOverlay<P extends SVGOverlayProps = SVGOverlayProps, E extends Leaflet.SVGOverlay = Leaflet.SVGOverlay> extends MapComponent<P, E> { | ||
createLeafletElement(props: P): E; | ||
updateLeafletElement(fromProps: P, toProps: P): void; | ||
} | ||
export interface VideoOverlayProps extends Leaflet.VideoOverlayOptions, MapComponentProps { | ||
@@ -289,0 +298,0 @@ attribution?: string; |
{ | ||
"name": "@types/react-leaflet", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"description": "TypeScript definitions for react-leaflet", | ||
@@ -26,2 +26,7 @@ "license": "MIT", | ||
"githubUsername": "favna" | ||
}, | ||
{ | ||
"name": "Tom Fenech", | ||
"url": "https://github.com/fenech", | ||
"githubUsername": "fenech" | ||
} | ||
@@ -41,4 +46,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "65d16cb39d59d65e0ac06ab22010213ac1e62636112ff232169ad74c0f80a7e9", | ||
"typesPublisherContentHash": "d26bd5954153a13eba30cb460cc3c36bf7af7f9d24ad476fc0edf95f4d6f06fd", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 13 Aug 2019 00:40:33 GMT | ||
* Last updated: Tue, 22 Oct 2019 20:48:53 GMT | ||
* Dependencies: @types/leaflet, @types/react | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Dave Leaver <https://github.com/danzel>, David Schneider <https://github.com/davschne>, Yui T. <https://github.com/yuit>, and Jeroen Claassens <https://github.com/favna>. | ||
These definitions were written by Dave Leaver <https://github.com/danzel>, David Schneider <https://github.com/davschne>, Yui T. <https://github.com/yuit>, Jeroen Claassens <https://github.com/favna>, and Tom Fenech <https://github.com/fenech>. |
23339
422