Transform all keys of an object type from kebab-case to camelCase.
Used with camelCaseValues to provide type-safe camelCase option keys.
camelCaseValues
type Original = { 'output-dir': string; 'dry-run': boolean };type Camel = CamelCaseKeys<Original>; // { outputDir: string; dryRun: boolean } Copy
type Original = { 'output-dir': string; 'dry-run': boolean };type Camel = CamelCaseKeys<Original>; // { outputDir: string; dryRun: boolean }
Transform all keys of an object type from kebab-case to camelCase.
Used with
camelCaseValuesto provide type-safe camelCase option keys.