Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 1.95 KB

File metadata and controls

13 lines (8 loc) · 1.95 KB

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

610・CamelCase 612・KebabCase