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

0.2.6 • Public • Published

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 09:09:39 GMT
  • Dependencies: @types/geojson

Credits

These definitions were written by Sagie Maoz.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/mapbox__geojson-area

Weekly Downloads

3,668

Version

0.2.6

License

MIT

Unpacked Size

3.36 kB

Total Files

5

Last publish

Collaborators

  • types