Recursively generates a union of all dot-notation paths for object T.
T
It uses PathMap to calculate paths for properties and then extracts the values using [keyof T].
PathMap
[keyof T]
The object or array to inspect.
The maximum recursion depth (defaults to 6).
v6.38.0
A union of string paths (e.g., "user" | "user.name").
"user" | "user.name"
Recursively generates a union of all dot-notation paths for object
T.It uses
PathMapto calculate paths for properties and then extracts the values using[keyof T].