This commit is contained in:
vcoppe committed 2026-10-14 08:51:38 +02:00
1 parent ce8398f749
commit 41b9116c6a
60 files changed
+7525 -340

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ const cumulative = {
};
/** The statistics of the trackpoints from `start` to `end` (both included), as the engine does. */
function slice(start: number, end: number): GlobalStatistics | undefined {
async function slice(start: number, end: number): Promise<GlobalStatistics | undefined> {
if (!(start >= 0 && start <= end && end < length)) {
return undefined;
}