Interface ParentPath<T>

Path from an object to its immediate parent.

Typeparam

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).