aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src/stores/Profile.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared/src/stores/Profile.ts')
-rw-r--r--packages/shared/src/stores/Profile.ts14
1 files changed, 10 insertions, 4 deletions
diff --git a/packages/shared/src/stores/Profile.ts b/packages/shared/src/stores/Profile.ts
index bb058f6..256c33e 100644
--- a/packages/shared/src/stores/Profile.ts
+++ b/packages/shared/src/stores/Profile.ts
@@ -20,11 +20,17 @@
20 20
21import { Instance, types } from 'mobx-state-tree'; 21import { Instance, types } from 'mobx-state-tree';
22 22
23import { profileSettings } from './ProfileSettings'; 23import ProfileSettings from './ProfileSettings';
24 24
25export const profile = types.model('Profile', { 25const Profile = types.model('Profile', {
26 id: types.identifier, 26 id: types.identifier,
27 settings: profileSettings, 27 settings: ProfileSettings,
28}); 28});
29 29
30export interface Profile extends Instance<typeof profile> {} 30/*
31 eslint-disable-next-line @typescript-eslint/no-redeclare --
32 Intentionally naming the type the same as the store definition.
33*/
34interface Profile extends Instance<typeof Profile> {}
35
36export default Profile;