mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* Add types for geobuf https://github.com/mapbox/geobuf * Remove patch version from header
10 lines
381 B
TypeScript
10 lines
381 B
TypeScript
// Type definitions for geobuf 3.0
|
|
// Project: https://github.com/mapbox/geobuf
|
|
// Definitions by: Chad Burt <https://github.com/DefinitelyTyped>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
import Pbf = require('pbf');
|
|
import { GeoJSON } from 'geojson';
|
|
|
|
export function decode(pbf: Pbf): GeoJSON;
|
|
export function encode(obj: GeoJSON, pbf: Pbf): Uint8Array;
|