UNPKG

@mollie/api-client

Version:
6 lines (5 loc) 304 B
/** * Returns the passed input with all dashes (`'-'`) removed, and the first character as well as any character which * appears directly after a dash converted to upper case. `'bananas'` → `'Bananas'`. `'summer-day'` → `'SummerDay'`. */ export default function capitalize(input: string): string;