Updated template literal strings

This commit is contained in:
2024-02-24 14:39:45 +01:00
parent 1ea4c3e9df
commit 2f7f1427dd
16 changed files with 53 additions and 35 deletions

View File

@@ -1,3 +1,7 @@
export function capitalizeFirstLetter(str: string): string {
return str[0].toUpperCase() + str.slice(1).toLowerCase()
}
export function removeIndents(str: string): string {
return str.replace(/^ */gm, "")
}