Updated template literal strings
This commit is contained in:
@@ -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, "")
|
||||
}
|
||||
Reference in New Issue
Block a user