UNPKG

mobx-bonsai

Version:

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

17 lines (14 loc) 268 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 }