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

18 lines (14 loc) 335 B
// this file only purpose is to break cyclic dependencies import type { BaseDataModel } from "./BaseDataModel" /** * @ignore * @internal */ export let _BaseDataModel: typeof BaseDataModel /** * @ignore * @internal */ export function setBaseDataModel(baseModelClass: typeof BaseDataModel) { _BaseDataModel = baseModelClass }