npm.io
1.0.3 • Published 2 years ago

@types/mapbox__geojson-extent

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

Installation

npm install --save @types/mapbox__geojson-extent

Summary

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

Details

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

index.d.ts

import { BBox, GeoJSON, Polygon } from "geojson";

export = bbox;
export as namespace bbox;
declare function bbox(geoJson: GeoJSON): BBox;

declare namespace bbox {
    function polygon(geoJson: GeoJSON): Polygon | null;
    function bboxify(geoJson: GeoJSON): GeoJSON;
}

Additional Details

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

Credits

These definitions were written by Aleš Jiránek.