Type alias KebabCase<T, A>

KebabCase<T, A>: T extends `${infer F}${infer R}`
    ? KebabCase<R, `${A}${F extends Lowercase<F>
        ? ""
        : "-"}${Lowercase<F>}`>
    : A

Type Parameters

  • T

  • A extends string = ""

Generated using TypeDoc