Installation
npm install --save @types/voronoi-diagram
Summary
This package contains type definitions for voronoi-diagram (https://github.com/mikolalysenko/voronoi-diagram).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/voronoi-diagram.
index.d.ts
declare namespace voronoi {
type Point = number[];
type Cell = number[];
interface VoronoiDiagram {
cells: Cell[];
positions: Point[];
}
}
declare function voronoi(points: voronoi.Point[]): voronoi.VoronoiDiagram;
export = voronoi;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Michael Neu.