diff options
Diffstat (limited to 'packages/shared/src/stores/Profile.ts')
-rw-r--r-- | packages/shared/src/stores/Profile.ts | 14 |
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 | ||
21 | import { Instance, types } from 'mobx-state-tree'; | 21 | import { Instance, types } from 'mobx-state-tree'; |
22 | 22 | ||
23 | import { profileSettings } from './ProfileSettings'; | 23 | import ProfileSettings from './ProfileSettings'; |
24 | 24 | ||
25 | export const profile = types.model('Profile', { | 25 | const Profile = types.model('Profile', { |
26 | id: types.identifier, | 26 | id: types.identifier, |
27 | settings: profileSettings, | 27 | settings: ProfileSettings, |
28 | }); | 28 | }); |
29 | 29 | ||
30 | export 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 | */ | ||
34 | interface Profile extends Instance<typeof Profile> {} | ||
35 | |||
36 | export default Profile; | ||