@types/geojson
Advanced tools
Comparing version 7946.0.10 to 7946.0.13
@@ -1,11 +0,1 @@ | ||
// Type definitions for non-npm package geojson 7946.0 | ||
// Project: https://geojson.org/ | ||
// Definitions by: Jacob Bruun <https://github.com/cobster> | ||
// Arne Schubert <https://github.com/atd-schubert> | ||
// Jeff Jacobson <https://github.com/JeffJacobson> | ||
// Ilia Choly <https://github.com/icholy> | ||
// Dan Vanderkam <https://github.com/danvk> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
// Note: as of the RFC 7946 version of GeoJSON, Coordinate Reference Systems | ||
@@ -20,3 +10,3 @@ // are no longer supported. (See https://tools.ietf.org/html/rfc7946#appendix-B)} | ||
*/ | ||
export type GeoJsonGeometryTypes = Geometry['type']; | ||
export type GeoJsonGeometryTypes = Geometry["type"]; | ||
@@ -27,3 +17,3 @@ /** | ||
*/ | ||
export type GeoJsonTypes = GeoJSON['type']; | ||
export type GeoJsonTypes = GeoJSON["type"]; | ||
@@ -89,3 +79,3 @@ /** | ||
export interface Point extends GeoJsonObject { | ||
type: 'Point'; | ||
type: "Point"; | ||
coordinates: Position; | ||
@@ -99,3 +89,3 @@ } | ||
export interface MultiPoint extends GeoJsonObject { | ||
type: 'MultiPoint'; | ||
type: "MultiPoint"; | ||
coordinates: Position[]; | ||
@@ -109,3 +99,3 @@ } | ||
export interface LineString extends GeoJsonObject { | ||
type: 'LineString'; | ||
type: "LineString"; | ||
coordinates: Position[]; | ||
@@ -119,3 +109,3 @@ } | ||
export interface MultiLineString extends GeoJsonObject { | ||
type: 'MultiLineString'; | ||
type: "MultiLineString"; | ||
coordinates: Position[][]; | ||
@@ -129,3 +119,3 @@ } | ||
export interface Polygon extends GeoJsonObject { | ||
type: 'Polygon'; | ||
type: "Polygon"; | ||
coordinates: Position[][]; | ||
@@ -139,3 +129,3 @@ } | ||
export interface MultiPolygon extends GeoJsonObject { | ||
type: 'MultiPolygon'; | ||
type: "MultiPolygon"; | ||
coordinates: Position[][][]; | ||
@@ -149,3 +139,3 @@ } | ||
export interface GeometryCollection<G extends Geometry = Geometry> extends GeoJsonObject { | ||
type: 'GeometryCollection'; | ||
type: "GeometryCollection"; | ||
geometries: G[]; | ||
@@ -161,3 +151,3 @@ } | ||
export interface Feature<G extends Geometry | null = Geometry, P = GeoJsonProperties> extends GeoJsonObject { | ||
type: 'Feature'; | ||
type: "Feature"; | ||
/** | ||
@@ -183,4 +173,4 @@ * The feature's geometry | ||
export interface FeatureCollection<G extends Geometry | null = Geometry, P = GeoJsonProperties> extends GeoJsonObject { | ||
type: 'FeatureCollection'; | ||
type: "FeatureCollection"; | ||
features: Array<Feature<G, P>>; | ||
} |
{ | ||
"name": "@types/geojson", | ||
"version": "7946.0.10", | ||
"version": "7946.0.13", | ||
"description": "TypeScript definitions for geojson", | ||
@@ -10,24 +10,24 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/geojson", | ||
"name": "Jacob Bruun", | ||
"url": "https://github.com/cobster", | ||
"githubUsername": "cobster" | ||
"githubUsername": "cobster", | ||
"url": "https://github.com/cobster" | ||
}, | ||
{ | ||
"name": "Arne Schubert", | ||
"url": "https://github.com/atd-schubert", | ||
"githubUsername": "atd-schubert" | ||
"githubUsername": "atd-schubert", | ||
"url": "https://github.com/atd-schubert" | ||
}, | ||
{ | ||
"name": "Jeff Jacobson", | ||
"url": "https://github.com/JeffJacobson", | ||
"githubUsername": "JeffJacobson" | ||
"githubUsername": "JeffJacobson", | ||
"url": "https://github.com/JeffJacobson" | ||
}, | ||
{ | ||
"name": "Ilia Choly", | ||
"url": "https://github.com/icholy", | ||
"githubUsername": "icholy" | ||
"githubUsername": "icholy", | ||
"url": "https://github.com/icholy" | ||
}, | ||
{ | ||
"name": "Dan Vanderkam", | ||
"url": "https://github.com/danvk", | ||
"githubUsername": "danvk" | ||
"githubUsername": "danvk", | ||
"url": "https://github.com/danvk" | ||
} | ||
@@ -44,4 +44,5 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "c643a23a31eff03411bea631b681ed8d12f45c146cc63d329774f19aa6f904bc", | ||
"typeScriptVersion": "4.0" | ||
"typesPublisherContentHash": "4e4971357304bd2014648d19c8b610e1cc65cf30bd2dfb359e83b2e7251e3a71", | ||
"typeScriptVersion": "4.5", | ||
"nonNpm": true | ||
} |
@@ -11,7 +11,6 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 14 Jul 2022 00:02:25 GMT | ||
* Last updated: Tue, 07 Nov 2023 03:09:37 GMT | ||
* Dependencies: none | ||
* Global values: `GeoJSON` | ||
# Credits | ||
These definitions were written by [Jacob Bruun](https://github.com/cobster), [Arne Schubert](https://github.com/atd-schubert), [Jeff Jacobson](https://github.com/JeffJacobson), [Ilia Choly](https://github.com/icholy), and [Dan Vanderkam](https://github.com/danvk). |
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
8127
147
16