mobx-bonsai
    Preparing search index...

    Interface ParentPath<T>

    Path from an object to its immediate parent.

    interface ParentPath<T extends object> {
        parent: T;
        path: string;
    }

    Type Parameters

    • T extends object

      Parent object type.

    Index

    Properties

    Properties

    parent: T

    Parent object.

    path: string

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