3 lines
88 B
TypeScript
3 lines
88 B
TypeScript
export const capitalize = (value: string) =>
|
|
value[0].toUpperCase() + value.slice(1);
|