Flatten an object into a single depth with the given delimiter.
type Foo = { bar: { baz: string qux: number }, quux: boolean }type FlatFoo = FlattenObject<Foo, '_'>// {// 'bar_baz': string// 'bar_qux': number// 'quux': boolean// } Copy
type Foo = { bar: { baz: string qux: number }, quux: boolean }type FlatFoo = FlattenObject<Foo, '_'>// {// 'bar_baz': string// 'bar_qux': number// 'quux': boolean// }
Generated using TypeDoc
Flatten an object into a single depth with the given delimiter.