mirror of
https://github.com/type-challenges/type-challenges.git
synced 2026-02-01 15:47:22 +00:00
1.4 KiB
1.4 KiB
Camelize

by Denis @denchiklut
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 }]
// }