1 export function capitalize(str: string): string {
2 return str.charAt(0).toUpperCase() + str.slice(1)
3 }