import { Models } from '@rematch/core' ; import { players } from './players' ; import { settings } from './settings' ; import { cart } from './cart' ; export interface RootModel extends Models < RootModel > { players : typeof players ; cart : typeof cart ; settings : typeof settings ; } export const models = { players , settings , cart } ;