mobx-keystone-mindreframer
Version:
A MobX powered state management solution based on data trees with first class support for Typescript, snapshots, patches and much more
13 lines (12 loc) • 372 B
TypeScript
/**
* Property name (if the parent is an object) or index number (if the parent is an array).
*/
export declare type PathElement = string | number;
/**
* Path from a parent to a child.
*/
export declare type Path = ReadonlyArray<string | number>;
/**
* Path from a parent to a child (writable).
*/
export declare type WritablePath = (string | number)[];