deep-case-crafter
Version:
Transforms deeply nested object, array, Map, and Set keys between common case formats while preserving TypeScript type safety
15 lines (14 loc) • 436 B
TypeScript
/**
* Converts a camelCase string to PascalCase
* Core transformation function without special character handling
*
* @param str - The camelCase string to convert
* @returns The PascalCase transformed string
*
* @example
* ```typescript
* camelToPascalCase('helloWorld') // => 'HelloWorld'
* ```
* @internal This function is for internal use by the library
*/
export default function camelToPascalCase(str: string): string;