2022-06-22 22:19:12 +03:00

20 lines
532 B
TypeScript

/* eslint-disable import/no-cycle */
import { enableStaticRendering } from 'mobx-react-lite';
import CalculationStore from './calculation';
import TablesStore from './tables';
import UserStore from './user';
enableStaticRendering(typeof window === 'undefined');
export default class RootStore {
$user: UserStore;
$calculation: CalculationStore;
$tables: TablesStore;
constructor() {
this.$user = new UserStore(this);
this.$calculation = new CalculationStore(this);
this.$tables = new TablesStore(this);
}
}