From 47392d4725cbbdb363371d9d61782a0e0bbce4de Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Mon, 17 Apr 2023 17:44:55 +0100 Subject: [PATCH] Exported the string.ts helper function --- src/utils/string.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/string.ts b/src/utils/string.ts index e56caeae..fe9f629c 100644 --- a/src/utils/string.ts +++ b/src/utils/string.ts @@ -1,4 +1,4 @@ -function convertCamelCaseToReadable(camelCaseString: string): string { +export function convertCamelCaseToReadable(camelCaseString: string): string { // Split the string using regex to match the capital letters const wordsArray = camelCaseString.split(/(?=[A-Z])/);