UNPKG

mobx-bonsai

Version:

A fast lightweight alternative to MobX-State-Tree + Y.js two-way binding

15 lines (14 loc) 285 B
import { Path } from './pathTypes'; /** * Result of `findParentPath`. */ export interface FoundParentPath<T extends object> { /** * Found parent node. */ readonly parent: T; /** * Path from the found parent to the child. */ readonly path: Path; }