mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Fix union type style.
This commit is contained in:
2
types/ngeohash/index.d.ts
vendored
2
types/ngeohash/index.d.ts
vendored
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user