diff options
Diffstat (limited to 'client/src/root-helpers/string.ts')
-rw-r--r-- | client/src/root-helpers/string.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/root-helpers/string.ts b/client/src/root-helpers/string.ts new file mode 100644 index 000000000..f81587494 --- /dev/null +++ b/client/src/root-helpers/string.ts | |||
@@ -0,0 +1,7 @@ | |||
1 | function capitalizeFirstLetter (str: string) { | ||
2 | return str.charAt(0).toUpperCase() + str.slice(1) | ||
3 | } | ||
4 | |||
5 | export { | ||
6 | capitalizeFirstLetter | ||
7 | } | ||