BARGS
    Preparing search index...

    Type Alias KebabToCamel<S>

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

    Convert a kebab-case string type to camelCase.

    Type Parameters

    • S extends string
    type Result = KebabToCamel<'output-dir'>; // 'outputDir'
    type Nested = KebabToCamel<'my-long-option'>; // 'myLongOption'