Type alias CamelCase<T>

CamelCase<T>: T extends `${infer F}${"-" | "_" | " "}${infer R}${infer C}`
    ? `${F}${Uppercase<R>}${CamelCase<C>}`
    : T extends string
        ? Lowercase<T>
        : ""

Type Parameters

  • T

Generated using TypeDoc