BARGS
    Preparing search index...

    Type Alias CamelCaseKeys<T>

    CamelCaseKeys: { [K in keyof T as KebabToCamel<K & string>]: T[K] }

    Transform all keys of an object type from kebab-case to camelCase.

    Used with camelCaseValues to provide type-safe camelCase option keys.

    Type Parameters

    • T
    type Original = { 'output-dir': string; 'dry-run': boolean };
    type Camel = CamelCaseKeys<Original>; // { outputDir: string; dryRun: boolean }