Extracts out the keys of the given type as dot separated paths.
{ key1: string; key2: { sub1: string; sub2: string }} Copy
{ key1: string; key2: { sub1: string; sub2: string }}
Will be extracted as: 'key1' | 'key2' | '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.