Hello,
after last update (17.01.2024) we are faced with 6 errors of missing types in node_modules/garmin-connect/dist/garmin/GarminConnect.d.ts
node_modules/garmin-connect/dist/garmin/GarminConnect.d.ts:60:46 - error TS2304: Cannot find name 'WeightData'.
60 getDailyWeightData(date?: Date): Promise;
node_modules/garmin-connect/dist/garmin/GarminConnect.d.ts:63:82 - error TS2304: Cannot find name 'UpdateWeight'.
63 updateWeight(date: Date | undefined, lbs: number, timezone: string): Promise<UpdateWeight>;
node_modules/garmin-connect/dist/garmin/GarminConnect.d.ts:64:82 - error TS2304: Cannot find name 'WaterIntake'.
64 updateHydrationLogOunces(date: Date | undefined, valueInOz: number): Promise;
node_modules/garmin-connect/dist/garmin/GarminConnect.d.ts:67:40 - error TS2304: Cannot find name 'HeartRate'.
67 getHeartRate(date?: Date): Promise<HeartRate>;
Typescript version is same as garmin's.
We use es2017, but changing to ES5 didn't solve issue.
Could you help to solve it ?
Hello, after last update (17.01.2024) we are faced with 6 errors of missing types in node_modules/garmin-connect/dist/garmin/GarminConnect.d.ts node_modules/garmin-connect/dist/garmin/GarminConnect.d.ts:60:46 - error TS2304: Cannot find name 'WeightData'. 60 getDailyWeightData(date?: Date): Promise;
node_modules/garmin-connect/dist/garmin/GarminConnect.d.ts:64:82 - error TS2304: Cannot find name 'WaterIntake'. 64 updateHydrationLogOunces(date: Date | undefined, valueInOz: number): Promise;
node_modules/garmin-connect/dist/garmin/GarminConnect.d.ts:66:52 - error TS2304: Cannot find name 'GolfScorecard'. 66 getGolfScorecard(scorecardId: number): Promise;