A type that recursively converts a nested object to a flattened object with kebab-case keys.
type MyObject = { a: { b: { cKey: string; }; };};type Flattened = Flattened<MyObject>;// { 'a-b-cKey': string } Copy
type MyObject = { a: { b: { cKey: string; }; };};type Flattened = Flattened<MyObject>;// { 'a-b-cKey': string }
A type that recursively converts a nested object to a flattened object with kebab-case keys.