npm.io
0.2.6 • Published 2 years ago

@types/mapbox__geojson-area

Licence
MIT
Version
0.2.6
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/mapbox__geojson-area

Summary

This package contains type definitions for @mapbox/geojson-area (https://github.com/mapbox/geojson-area#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__geojson-area.

index.d.ts

/* eslint-disable @definitelytyped/no-declare-current-package */
// eslint-disable-next-line @definitelytyped/no-single-declare-module
declare module "@mapbox/geojson-area" {
    import { Geometry, Position } from "geojson";

    function geometry(geo: Geometry): number;
    function ring(coordinates: Position[]): number;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: @types/geojson

Credits

These definitions were written by Sagie Maoz.