Converts a string literal type to camelCase at the type level. Supports conversion from snake_case, kebab-case, PascalCase, and camelCase inputs.
The string literal type to convert
type Result1 = CamelCase<'user_name'> // 'userName'type Result2 = CamelCase<'first-name'> // 'firstName'type Result3 = CamelCase<'FirstName'> // 'firstName' Copy
type Result1 = CamelCase<'user_name'> // 'userName'type Result2 = CamelCase<'first-name'> // 'firstName'type Result3 = CamelCase<'FirstName'> // 'firstName'
Converts a string literal type to camelCase at the type level. Supports conversion from snake_case, kebab-case, PascalCase, and camelCase inputs.