From 8383dc3c3ed7a8666541e26db72bfb8289e089e9 Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Mon, 30 Sep 2024 06:36:50 +0100 Subject: [PATCH] fix: function jsdoc description --- api/src/utils/helpers/safeRandom.ts | 4 ++-- frontend/src/utils/safeRandom.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/src/utils/helpers/safeRandom.ts b/api/src/utils/helpers/safeRandom.ts index 539677b..a7aa789 100644 --- a/api/src/utils/helpers/safeRandom.ts +++ b/api/src/utils/helpers/safeRandom.ts @@ -7,9 +7,9 @@ */ /** - * Return a cryptographically secure random value between 0 and 1 is desired + * Return a cryptographically secure random value between 0 and 1 * - * @returns A cryptographically secure random value between 0 and 1 is desired + * @returns A cryptographically secure random value between 0 and 1 */ export const getRadom = (): number => window.crypto.getRandomValues(new Uint32Array(1))[0] * Math.pow(2, -32); diff --git a/frontend/src/utils/safeRandom.ts b/frontend/src/utils/safeRandom.ts index 539677b..a7aa789 100644 --- a/frontend/src/utils/safeRandom.ts +++ b/frontend/src/utils/safeRandom.ts @@ -7,9 +7,9 @@ */ /** - * Return a cryptographically secure random value between 0 and 1 is desired + * Return a cryptographically secure random value between 0 and 1 * - * @returns A cryptographically secure random value between 0 and 1 is desired + * @returns A cryptographically secure random value between 0 and 1 */ export const getRadom = (): number => window.crypto.getRandomValues(new Uint32Array(1))[0] * Math.pow(2, -32);