Skip to main content

Interface: ParentPath<T>

Path from an object to its immediate parent.

Type Parameters​

Type ParameterDescription
T extends objectParent object type.

Properties​

parent​

readonly parent: T;

Parent object.


path​

readonly path: PathElement;

Property name (if the parent is an object) or index number (if the parent is an array).