@types/voronoi-diagram
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/voronoi-diagram

      Weekly Downloads

      19

      Version

      1.0.4

      License

      MIT

      Unpacked Size

      3.13 kB

      Total Files

      5

      Last publish

      Collaborators

      • types