Files
twenty/packages/twenty-front/src/utils/string/pascalCase.ts
T
MarieandGitHub 7d7955fc65 Move capitalize into twenty-shared (#9414)
capitalize had been moved into twenty-shared. Let's remove the
duplicates in server and front !
2025-01-07 14:25:29 +00:00

6 lines
159 B
TypeScript

import camelCase from 'lodash.camelcase';
import { capitalize } from 'twenty-shared';
export const pascalCase = (str: string) => capitalize(camelCase(str));