121. 驼峰命名
困难
实现高级工具类型 CamelCase<T>
用于将 snake_case
类型的表示的字符串转换为 camelCase
的表示方式。
例如:
type CamelCase1 = CamelCase<'hello_world_with_types'> // expected to be 'helloWorldWithTypes'
type CamelCase2 = CamelCase<'HELLO_WORLD_WITH_TYPES'> // expected to be 'helloWorldWithTypes'