mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
[d3-geo] URGENT PATCH (Broken Definition) geojson dependency to 1.0.6 (#21808)
* Pin `geojson` dependency to 1.0.6 * The latest version of the `geojson` definitions breaks **d3-geo**. Pin to the last working version for now until more thorough change impact assessment is complete. * Add `private: true` to package.json * Remove `package.json` stub. Replace `CoordinateReferenceSystem` with literal.
This commit is contained in:
5
types/d3-geo/index.d.ts
vendored
5
types/d3-geo/index.d.ts
vendored
@@ -36,7 +36,10 @@ export type GeoGeometryObjects = GeoJSON.GeometryObject | GeoSphere;
|
||||
export interface ExtendedGeometryCollection<GeometryType extends GeoGeometryObjects> {
|
||||
type: string;
|
||||
bbox?: number[];
|
||||
crs?: GeoJSON.CoordinateReferenceSystem;
|
||||
crs?: {
|
||||
type: string;
|
||||
properties: any;
|
||||
};
|
||||
geometries: GeometryType[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user