Camelize 困难 #union #recursion

by Denis @denchiklut

接受挑战    English

实现 Camelize 类型: 将对象属性名从 蛇形命名(下划线命名) 转换为 小驼峰命名 ```ts Camelize<{ some_prop: string, prop: { another_prop: string }, array: [{ snake_case: string }] }> // expected to be // { // someProp: string, // prop: { anotherProp: string }, // array: [{ snakeCase: string }] // } ```
返回首页 分享你的解答 查看解答