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) • 307 B
text/typescript
// this file only purpose is to break cyclic dependencies
import type { BaseModel } from "./BaseModel"
/**
* @ignore
* @internal
*/
export let _BaseModel: typeof BaseModel
/**
* @ignore
* @internal
*/
export function setBaseModel(baseModelClass: typeof BaseModel) {
_BaseModel = baseModelClass
}