Skip to content

Commit

Permalink
fix: correct types
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Mar 30, 2023
1 parent 6b2f394 commit f33ba58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/res/utils/read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ const nominatimQ: string = 'https://nominatim.openstreetmap.org/search/?limit=1&
const cidMatch: RegExp = /^0x[\da-f]+:0x[\da-f]+$/i;
const dmsMatch: RegExp = /^\d{1,2}°\d{1,2}'\d{1,2}\.\d"(N|S) \d{1,2}°\d{1,2}'\d{1,2}\.\d"(E|W)$/i;

export type Marker = object & {
export type Marker = {
lat: number;
lon: number;
label?: string;
};

export type MapData = object & {
export type MapData = {
area?: {
lat: number;
lon: number;
Expand Down

0 comments on commit f33ba58

Please sign in to comment.