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

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