Type Alias CamelCase<S>

CamelCase<S>: S extends `${infer T}-${infer U}`
    ? `${Lowercase<T>}${Capitalize<CamelCase<U>>}`
    : S

Type Parameters

  • S