@types/react-leaflet
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -352,3 +352,3 @@ // Type definitions for react-leaflet 2.5 | ||
export interface GeoJSONProps extends PathProps, FeatureGroupEvents, Leaflet.GeoJSONOptions { | ||
data: GeoJSON.GeoJsonObject; | ||
data: GeoJSON.GeoJsonObject | GeoJSON.GeoJsonObject[]; | ||
} | ||
@@ -355,0 +355,0 @@ export class GeoJSON<P extends GeoJSONProps = GeoJSONProps, E extends Leaflet.GeoJSON = Leaflet.GeoJSON> extends FeatureGroup<P, E> { |
{ | ||
"name": "@types/react-leaflet", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "TypeScript definitions for react-leaflet", | ||
@@ -34,3 +34,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -46,4 +46,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "d26bd5954153a13eba30cb460cc3c36bf7af7f9d24ad476fc0edf95f4d6f06fd", | ||
"typesPublisherContentHash": "7772d5faafa979ea5ac77045acbcad144d268b06706103585984fc7025e1351e", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-leaflet | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-leaflet. | ||
Additional Details | ||
* Last updated: Tue, 22 Oct 2019 20:48:53 GMT | ||
* Dependencies: @types/leaflet, @types/react | ||
### Additional Details | ||
* Last updated: Tue, 03 Mar 2020 18:42:33 GMT | ||
* Dependencies: [@types/leaflet](https://npmjs.com/package/@types/leaflet), [@types/react](https://npmjs.com/package/@types/react) | ||
* 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>, Jeroen Claassens <https://github.com/favna>, and Tom Fenech <https://github.com/fenech>. | ||
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). |
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
23466