From: Jérôme Benoit Date: Sun, 3 Sep 2023 14:46:48 +0000 (+0200) Subject: docs: refine code comments X-Git-Tag: v1.2.21~34 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=20558952fb18725ad134a5148a873a30fcced31d;p=e-mobility-charging-stations-simulator.git docs: refine code comments Signed-off-by: Jérôme Benoit --- diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index a2cb233a..e01aa75f 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -301,7 +301,7 @@ export const promiseWithTimeout = async ( /* This is intentional */ }, ): Promise => { - // Create a timeout promise that rejects in timeout milliseconds + // Creates a timeout promise that rejects in timeout milliseconds const timeoutPromise = new Promise((_, reject) => { setTimeout(() => { if (isPromisePending(promise)) {