Interface ParentPath<T>

Path from an object to its immediate parent.

T Parent object type.

interface ParentPath<T> {
    parent: T;
    path: PathElement;
}

Type Parameters

  • T extends object

Properties

Properties

parent: T

Parent object.

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