Type Alias: PathProxy<T>
type PathProxy<T> = T extends infer U[] ? {
$_: PathProxy<U>;
} : T extends object ? { [K in keyof T]-?: PathProxy<NonNullable<T[K]>> } : string;Defined in: shared/rules/types/paths.ts:39
Type-level mirror of T whose leaves are typed as string (the
accumulated dot-path). Arrays expose a $_ key that maps to the *
wildcard at runtime.
Type Parameters
| Type Parameter |
|---|
T |