type-challenges/questions/00114-hard-camelcase
2022-11-15 00:04:18 +00:00
..
2022-11-15 00:04:18 +00:00
2022-11-15 00:04:18 +00:00
2022-11-15 00:04:18 +00:00

CamelCase hard #template-literal

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語

Implement CamelCase<T> which converts snake_case string to camelCase.

For example

type camelCase1 = CamelCase<'hello_world_with_types'> // expected to be 'helloWorldWithTypes'
type camelCase2 = CamelCase<'HELLO_WORLD_WITH_TYPES'> // expected to be same as previous one

Back Share your Solutions Check out Solutions

Related Challenges

612・KebabCase