3 lines
93 B
TypeScript
3 lines
93 B
TypeScript
export const capitalizeFirstLetter = (str: string) =>
|
|
str[0].toUpperCase() + str.slice(1);
|