refine gpx class hierarchy

This commit is contained in:
vcoppe
2024-04-18 17:11:23 +02:00
parent 7ca0b3bae3
commit 15785eb387
2 changed files with 44 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
export type GPXFileType = {
attributes: GPXFileAttributes;
metadata: Metadata;
wpt: Waypoint[];
wpt: WaypointType[];
trk: TrackType[];
};
@@ -28,7 +28,7 @@ export type LinkAttributes = {
href: string;
};
export type Waypoint = {
export type WaypointType = {
attributes: Coordinates;
ele?: number;
time?: Date;