UNPKG

mobx-keystone

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) 433 B
/** * Returns if a given node is a computed tree node. * * @param node Node to check. * @returns `true` if it is a computed tree node, `false` otherwise. */ export declare function isComputedTreeNode(node: object): boolean; /** * Decorator for turning a computed property into a computed tree which supports tree traversal * functions, contexts, references, etc. */ export declare function computedTree(...args: any[]): any;