Extracts out the keys of the given type as dot separated paths. Includes only paths to the leaf nodes.
{ key1: string; key2: { sub1: string; sub2: string }} Copy
{ key1: string; key2: { sub1: string; sub2: string }}
Will be extracted as: 'key1' | 'key2.sub1' | 'key2.sub2'
Depth of search can be set using the third parameter TDepth (default 6).
TDepth
Extracts out the keys of the given type as dot separated paths. Includes only paths to the leaf nodes.