PathProxy
PathProxy<
T> ={ readonly [K in keyof T as K extends string ? K : never]-?: PathProxy<T[K]> }&PathRef<T>
Defined in: output-transform/path-proxy.ts:49
A mapped type that mirrors T but returns PathProxy for every property
access, enabling IDE autocomplete and compile-time type checking.
At runtime, this is a Proxy object that records property accesses.
Type Parameters
Section titled “Type Parameters”T
Example
Section titled “Example”type Out = { users: { name: string; age: number }[] }// PathProxy<Out>.users → PathProxy<{ name: string; age: number }[]>// PathProxy<Out>.users is also a PathRef<{ name: string; age: number }[]>