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 09:09:39 GMT
- Dependencies: @types/geojson
Credits
These definitions were written by Aleš Jiránek.