Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.39 KB

File metadata and controls

20 lines (16 loc) · 1.39 KB

Camelize hard #union #recursion

by Denis @denchiklut

Take the Challenge

Implement Camelize which converts object from snake_case to to camelCase

Camelize<{
  some_prop: string, 
  prop: { another_prop: string },
  array: [{ snake_case: string }]
}>

// expected to be
// {
//   someProp: string, 
//   prop: { anotherProp: string },
//   array: [{ snakeCase: string }]
// }

Back Share your Solutions Check out Solutions