The union of all dot-separated paths in an object rescursively.
Here's an illustration:
type Obj = { a: { b: { c: string } } };type ObjPaths = PathsOf<Obj>;// ^? type ObjPaths = "a" | "a.b" | "a.b.c" Copy
type Obj = { a: { b: { c: string } } };type ObjPaths = PathsOf<Obj>;// ^? type ObjPaths = "a" | "a.b" | "a.b.c"
the object to get paths from.
The union of all dot-separated paths in an object rescursively.
Here's an illustration: