Flattens the object into a single-depth object
flatten({ foo: 1, bar: { foo: 2 } }); // { foo: 1, "bar.foo": 2 }
Generated using TypeDoc
Flattens the object into a single-depth object
Example