PathType which eagerly collects all paths through a type @examplePath<{foo: {bar: string}}> = 'foo' | 'foo.bar' type Path<T> = T extends any ? PathInternal<T> : never;§Type Parameters§T[src]§Type§T extends any ? PathInternal<T> : never[src]