Type Alias SnakeToCamelCase<S>

SnakeToCamelCase: S extends `${infer T}_${infer U}${infer Rest}`
    ? `${T}${Uppercase<U>}${SnakeToCamelCase<Rest>}`
    : S

Type Parameters

  • S extends string