Fix union type style.

This commit is contained in:
Yusuke Wada 2018-11-22 11:11:47 +09:00
parent 4804c30a55
commit f646aa114a

View File

@ -12,7 +12,7 @@ declare namespace ngeohash {
type GeographicBoundingBox = [number, number, number, number];
type NSEW = [number, number];
function encode(latitude: number|string, longitude: number|string, precision?: number): string;
function encode(latitude: number | string, longitude: number | string, precision?: number): string;
function decode(hashstring: string): GeographicPoint;
function decode_bbox(hashstring: string): GeographicBoundingBox;
function bboxes(minlat: number, minlon: number, maxlat: number, maxlon: number, precision?: number): Array<string>;