From b3e44709d414a78dfb8517e196a4f4c4a93be0a3 Mon Sep 17 00:00:00 2001 From: Ugur Akin Date: Wed, 9 Oct 2024 10:10:17 +0100 Subject: [PATCH] fix: fixes type definition for PowerRecordResult where samples would be missing time field (#166) --- src/types/results.types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/results.types.ts b/src/types/results.types.ts index 2717a75..f46b8bd 100644 --- a/src/types/results.types.ts +++ b/src/types/results.types.ts @@ -3,7 +3,7 @@ import type { IntervalRecord, LengthResult, MassResult, - PowerResult, + PowerSampleResult, PressureResult, SpeedSampleResult, VolumeResult, @@ -274,7 +274,7 @@ interface TotalCaloriesBurnedRecordResult interface OxygenSaturationRecordResult extends OxygenSaturationRecord {} interface PowerRecordResult - extends Replace {} + extends Replace {} export type HealthConnectRecordResult = | ActiveCaloriesBurnedRecordResult