From edb49d957cab02b9b72f395c670037f5199937c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 24 Mar 2026 18:01:10 +0100 Subject: [PATCH] docs: fix inaccurate @returns in getChargingProfilesLimit Return type can be undefined but JSDoc only documented the non-null case. --- src/charging-station/Helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charging-station/Helpers.ts b/src/charging-station/Helpers.ts index 3056a7bb..885506a0 100644 --- a/src/charging-station/Helpers.ts +++ b/src/charging-station/Helpers.ts @@ -1072,7 +1072,7 @@ const getSingleChargingSchedule = ( * @param chargingStation - The charging station instance * @param connectorId - The connector identifier * @param chargingProfiles - Array of charging profiles - * @returns ChargingProfilesLimit + * @returns Charging profiles limit or undefined if no valid limit found */ const getChargingProfilesLimit = ( chargingStation: ChargingStation, -- 2.53.0