UNPKG

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

8 lines (7 loc) 284 B
import type { AnyModel } from "../model/BaseModel"; export declare class ModelPool { private pool; constructor(root: object); findModelByTypeAndId(modelType: string, modelId: string): AnyModel | undefined; findModelForSnapshot(sn: any): AnyModel | undefined; }