@types/d3-voronoi
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -1,2 +0,2 @@ | ||
// Type definitions for D3JS d3-voronoi module v1.1.0 | ||
// Type definitions for D3JS d3-voronoi module 1.1 | ||
// Project: https://github.com/d3/d3-voronoi/ | ||
@@ -6,2 +6,4 @@ // Definitions by: Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov> | ||
// Last module patch version validated against: 1.1.0 | ||
// -------------------------------------------------------------------------- | ||
@@ -11,3 +13,2 @@ // Shared Type Definitions and Interfaces | ||
/** | ||
@@ -85,6 +86,5 @@ * The VoronoiPoint interface is defined as a cue that the array is strictly of type [number, number] with two elements | ||
*/ | ||
halfEdges: Array<number>; | ||
halfEdges: number[]; | ||
} | ||
/** | ||
@@ -134,3 +134,3 @@ * Voronoi Edge in the diagram is an array [[x0, y0], [x1, y1]] with two additional properties: | ||
*/ | ||
(data: Array<T>): VoronoiDiagram<T>; | ||
(data: T[]): VoronoiDiagram<T>; | ||
@@ -213,3 +213,3 @@ /** | ||
*/ | ||
polygons(data: Array<T>): Array<VoronoiPolygon<T>>; | ||
polygons(data: T[]): Array<VoronoiPolygon<T>>; | ||
/** | ||
@@ -221,3 +221,3 @@ * Return the Delaunay triangulation of the specified data array as an array of triangles. | ||
*/ | ||
triangles(data: Array<T>): Array<VoronoiTriangle<T>>; | ||
triangles(data: T[]): Array<VoronoiTriangle<T>>; | ||
/** | ||
@@ -229,6 +229,5 @@ * Return the Delaunay triangulation of the specified data array as an array of links. | ||
*/ | ||
links(data: Array<T>): Array<VoronoiLink<T>>; | ||
links(data: T[]): Array<VoronoiLink<T>>; | ||
} | ||
/** | ||
@@ -286,3 +285,3 @@ * Computed Voronoi diagram | ||
*/ | ||
find(x: number, y:number, radius?:number): VoronoiSite<T> | null; | ||
find(x: number, y: number, radius?: number): VoronoiSite<T> | null; | ||
} | ||
@@ -289,0 +288,0 @@ |
{ | ||
"name": "@types/d3-voronoi", | ||
"version": "1.1.5", | ||
"description": "TypeScript definitions for D3JS d3-voronoi module v1.1.0", | ||
"version": "1.1.6", | ||
"description": "TypeScript definitions for D3JS d3-voronoi module", | ||
"license": "MIT", | ||
"author": "Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>", | ||
"contributors": [ | ||
{ | ||
"name": "Tom Wanzek", | ||
"url": "https://github.com/tomwanzek" | ||
}, | ||
{ | ||
"name": "Alex Ford", | ||
"url": "https://github.com/gustavderdrache" | ||
}, | ||
{ | ||
"name": "Boris Yankov", | ||
"url": "https://github.com/borisyankov" | ||
} | ||
], | ||
"main": "", | ||
@@ -15,4 +28,4 @@ "repository": { | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "07598d987406d5ebf65be95cd97486ef790d5d910e324eb61e4c2e4c48e4355b" | ||
"typesPublisherContentHash": "4ea4e512f9ff7dbe50598bf79d322873c19a2a95f0172deb6059080cdb2df008", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -5,12 +5,10 @@ # Installation | ||
# Summary | ||
This package contains type definitions for D3JS d3-voronoi module v1.1.0 (https://github.com/d3/d3-voronoi/). | ||
This package contains type definitions for D3JS d3-voronoi module (https://github.com/d3/d3-voronoi/). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/d3-voronoi | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-voronoi | ||
Additional Details | ||
* Last updated: Mon, 31 Oct 2016 18:50:14 GMT | ||
* File structure: ProperModule | ||
* Library Dependencies: none | ||
* Module Dependencies: none | ||
* Last updated: Fri, 19 May 2017 15:49:31 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
@@ -17,0 +15,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14321
0
277
17