From 03e9cc2dbb2577f6697ebf7a511578df1358e1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Kustra?= <46095609+blazejkustra@users.noreply.github.com> Date: Tue, 4 Jun 2024 11:36:07 +0200 Subject: [PATCH] Update lib/str.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michał Skałka <39538890+Skalakid@users.noreply.github.com> --- lib/str.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/str.ts b/lib/str.ts index 191b47a2..cdf8dd08 100644 --- a/lib/str.ts +++ b/lib/str.ts @@ -112,8 +112,8 @@ const Str = { /** * Escape text while preventing any sort of double escape, so 'X & Y' -> 'X & Y' and 'X & Y' -> 'X & Y' * - * @param s the string to escape - * @return string the escaped string + * @param s The string to escape + * @returns The escaped string */ safeEscape(s: string): string { return lodashEscape(lodashUnescape(s));