You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
446 B

import { Container } from "inversify";
import { AuthStore } from "./AuthStore";
import { UIStore } from "./UIStore";
export class RootStore {
container: Container = new Container();
authStore: AuthStore = new AuthStore(this);
uiStore: UIStore = new UIStore(this);
constructor() {
this.container.bind(AuthStore).toConstantValue(this.authStore);
this.container.bind(UIStore).toConstantValue(this.uiStore);
}
}